From 637962e62caf749bf8d931da4eb9bc0e6e1d1913 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 6 Oct 2008 16:30:57 +0000 Subject: [PATCH] - bug: getgid check was inversed Changed files: rpm.macros -> 1.483 --- rpm.macros | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm.macros b/rpm.macros index ade20a6..b129abf 100644 --- a/rpm.macros +++ b/rpm.macros @@ -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 \ -- 2.44.0