Author: glen                         Date: Mon Oct  6 16:31:03 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- bug: getgid check was inversed

---- Files affected:
SOURCES:
   rpm.macros (1.482 -> 1.483) 

---- Diffs:

================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.482 SOURCES/rpm.macros:1.483
--- SOURCES/rpm.macros:1.482    Sat Oct  4 22:26:43 2008
+++ SOURCES/rpm.macros  Mon Oct  6 18:30:57 2008
@@ -911,7 +911,7 @@
 %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 \
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm.macros?r1=1.482&r2=1.483&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to