]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- unbroken (grep -q takes only the first line)
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 4 Mar 2005 16:57:28 +0000 (16:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-pythondeps.patch -> 1.3

rpm-pythondeps.patch

index 10ead2bf51625b7466b71ca48629e711a7b75b3e..834754404a9dd3b2e14079b020983ffffa91d088 100644 (file)
  -P|--provides)
      shift
 -    grep "/usr/bin/python\*\$" >& /dev/null && echo "python(abi) = ${PYVER}"
-+    grep -q "/usr/lib[^/]*/libpython2\..*\.so.*\$" && echo "python(abi) = ${PYVER}"
++    grep "/usr/lib[^/]*/libpython2\..*\.so.*\$" >/dev/null && echo "python(abi) = ${PYVER}"
      exit 0
      ;;
  -R|--requires)
      shift
 -    grep "/usr/lib[^/]*/python${PYVER}/" >& /dev/null && echo "python(abi) = ${PYVER}"
-+    grep -q "/usr/\(lib[^/]*\|share\)/python${PYVER}/" && echo "python(abi) = ${PYVER}"
++    grep "/usr/\(lib[^/]*\|share\)/python${PYVER}/" >/dev/null && echo "python(abi) = ${PYVER}"
      exit 0
      ;;
  esac
This page took 0.052796 seconds and 4 git commands to generate.