]> git.pld-linux.org Git - packages/Zope.git/blobdiff - Zope.spec
- added path in script
[packages/Zope.git] / Zope.spec
index 57e579a81a21279ebdbe9822862b3bd5dc8421a5..c3b69e1a41b31ef2cf9f4ef675dac6a5d0afce30 100644 (file)
--- a/Zope.spec
+++ b/Zope.spec
@@ -35,8 +35,8 @@ BuildRequires:        python-devel >= 2.3.3
 BuildRequires: perl-base
 BuildRequires: rpmbuild(macros) >= 1.159
 PreReq:                rc-scripts
-Requires(pre): /usr/bin/getgid
 Requires(pre): /bin/id
+Requires(pre): /usr/bin/getgid
 Requires(pre): /usr/sbin/groupadd
 Requires(pre): /usr/sbin/useradd
 Requires(postun):      /usr/sbin/groupdel
@@ -147,8 +147,8 @@ touch $RPM_BUILD_ROOT/var/log/zope/main/Z2.log
 rm -rf $RPM_BUILD_ROOT
 
 %pre
-if [ -n "`getgid zope`" ]; then
-       if [ "`getgid zope`" != "112" ]; then
+if [ -n "`/usr/bin/getgid zope`" ]; then
+       if [ "`/usr/bin/getgid zope`" != "112" ]; then
                echo "Error: group zope doesn't have gid=112. Correct this before installing zope." 1>&2
                exit 1
        fi
This page took 0.052839 seconds and 4 git commands to generate.