]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-user_group.sh
- fix symlinks processing during install.
[packages/rpm.git] / rpm-user_group.sh
index 59ea36fe6aef861789b6d192f4bc70a431a88f2c..b4389539b78c15c83aeec8ab723f60f9d7f46017 100644 (file)
@@ -25,16 +25,16 @@ bannercmd()
                echo cat
        else
                if [ "$RPM_SCRIPTVERBOSITY" -lt 2 ]; then
-                       echo "$BANNERCMD -s -M $1"
-               else
                        echo "$BANNERCMD -M $1"
+               else
+                       echo "$BANNERCMD -s -M $1"
                fi
        fi
 }
 
 testrm()
 {
-       [ "$RPM_USERDEL" != yes ] && return 1
+       [ "$RPM_USERDEL" != yes ] || [ ! -x /bin/rpm ] && return 1
        [ -z "$1" ] && return 2
        rpm -q --whatprovides "${MODE}($1)" >/dev/null 2>&1
        # no package Provides it (strange)
This page took 0.031651 seconds and 4 git commands to generate.