]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - pearize.sh
- merge
[packages/rpm-build-tools.git] / pearize.sh
index df2a2198fa3c758a26657917af99aa772b7499e8..bbfea5c5756a54545734ce904e1a51cbeebfdba6 100644 (file)
@@ -26,11 +26,12 @@ if [ ! -f "$spec" ]; then
        echo >&2 "$spec doesn't exist?"
        exit 1
 fi
-echo "Processing $spec"
 
-if [[ "$(rpm -q php-pear-PEAR_Command_Packaging)" = *is*not* ]]; then
-       echo >&2 "Please install php-pear-PEAR_Command_Packaging package"
+if [[ "$(rpm -q php-pear-PEAR_Command_Packaging)" == *is?not* ]]; then
+       echo >&2 "Please install php-pear-PEAR_Command_Packaging"
+       exit 1
 fi
+echo "Processing $spec"
 
 getsource() {
        local spec="$1"
This page took 0.03669 seconds and 4 git commands to generate.