]> git.pld-linux.org Git - packages/apache.git/commitdiff
- check for chkconfig existence. (rpm fault)
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 16 May 2005 09:08:30 +0000 (09:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache.spec -> 1.394

apache.spec

index c4c6538cc5b20c036b741abd28d79d774dfdf6e0..edae18e155b3c4ca8f7f7de787a5c387c570197b 100644 (file)
@@ -986,7 +986,8 @@ if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/httpd ]; then
                /etc/rc.d/init.d/httpd stop 1>&2
        fi
-       /sbin/chkconfig --del httpd
+       # see http://thread.gmane.org/gmane.linux.pld.devel.english/712
+       [ ! -x /sbin/chkconfig ] || /sbin/chkconfig --del httpd
 fi
 
 %postun
This page took 0.039234 seconds and 4 git commands to generate.