]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm.macros
- bug: getgid check was inversed
[packages/rpm.git] / rpm.macros
index ade20a6e5db77f757b100a0505785dcc31a12bf3..b129abf6d85897df32cc99e27f559ec87cc77b2c 100644 (file)
@@ -911,7 +911,7 @@ fi;
 %groupadd(g:P:rfo)     \
 %{!-g:%{error:groupadd: Required argument -g missing}} \
 %{!?1:%{error:groupadd: Required parameter group missing}} \
-if /usr/bin/getgid %{1} > /dev/null 2>&1; then \
+if /usr/bin/getgid %{1} > /dev/null 2>&1; then \
        if [ "`/usr/bin/getgid %{1}`" != "%{-g*}" ]; then \
                echo "Error: group %{1} doesn't have gid=%{-g*}. Correct this before installing %{-P*}%{!?-P:%{name}}." 1>&2 \
                exit 1 \
This page took 0.14369 seconds and 4 git commands to generate.