]> git.pld-linux.org Git - packages/glibc.git/commitdiff
- standarized %preun for nscd and utmpd.
authorkloczek <kloczek@pld-linux.org>
Mon, 10 Apr 2000 08:40:04 +0000 (08:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    glibc.spec -> 1.89

glibc.spec

index a88d12787e18d681ce034814e521664071386d36..07ab2bd8abb010b9be37cf32c9b779a633b6e409 100644 (file)
@@ -330,8 +330,10 @@ fi
 
 %preun -n nscd
 if [ "$1" = "0" ]; then
+       if [ -f /var/lock/subsys/nscd ]; then
+               /etc/rc.d/init.d/nscd stop 1>&2
+       fi
        /sbin/chkconfig --del nscd
-       /etc/rc.d/init.d/nscd stop 1>&2
 fi
 
 %post -n utmpd
@@ -344,8 +346,10 @@ fi
 
 %preun -n utmpd
 if [ "$1" = "0" ]; then
+       if [ -f /var/lock/subsys/utmpd ]; then
+               /etc/rc.d/init.d/utmpd stop 1>&2
+       fi
        /sbin/chkconfig --del utmpd
-       /etc/rc.d/init.d/utmpd stop 1>&2
 fi
 
 %clean
This page took 0.030563 seconds and 4 git commands to generate.