]> git.pld-linux.org Git - packages/apache1-mod_antihak.git/commitdiff
fix %post (write http user to /etc/sudoers)
authoringlod <inglod@pld-linux.org>
Wed, 20 Mar 2002 08:48:59 +0000 (08:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_antihak.spec -> 1.9

apache1-mod_antihak.spec

index 6a459824f0998c77910994c0aed3bc50f771d737..ea964afb9aa66e1576f9a2af64b4beb2fd735274 100644 (file)
@@ -69,7 +69,7 @@ install mod_antihak/mod_antihak.so $RPM_BUILD_ROOT%{_libexecdir}
 gzip -9nf AUTHORS INSTALL ChangeLog NEWS TODO
 
 %post
-if [ `fgrep "http ALL= NOPASSWD: /sbin/iptables" /etc/sudoers | wc -l` = 0 ] then
+if [ `fgrep "http ALL= NOPASSWD: /sbin/iptables" /etc/sudoers | wc -l` = 0 ]; then
        echo "http ALL= NOPASSWD: /sbin/iptables" >> /etc/sudoers
 fi
 
This page took 0.031266 seconds and 4 git commands to generate.