]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- bug: getgid check was inversed auto/ac/rpm-build-macros-1_483-1
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 6 Oct 2008 16:30:57 +0000 (16:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.483

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.061684 seconds and 4 git commands to generate.