]> git.pld-linux.org Git - packages/autofs.git/commitdiff
- use %configure2_13
authorsaq <saq@pld-linux.org>
Thu, 26 Jul 2001 16:24:32 +0000 (16:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- finished transition to new lock name (/var/lock/subsys/autofs)
- release 2
- stb

Changed files:
    autofs.spec -> 1.35

autofs.spec

index 79dfeffbcae0e81ef406433422a7cd19199a6c02..353784374198286141ad20c6545144ffd32a4c0a 100644 (file)
@@ -5,7 +5,7 @@ Summary(pl):    Demon autofs
 Summary(tr):   autofs sunucu süreci
 Name:          autofs
 Version:       4.0.0pre10
-Release:       1
+Release:       2
 License:       GPL
 Group:         Daemons
 Group(de):     Server
@@ -74,7 +74,7 @@ a
 %patch8 -p1
 
 %build
-%configure
+%configure2_13
  
 %{__make} 
 
@@ -101,7 +101,11 @@ gzip -9nf NEWS README
 
 %post
 /sbin/chkconfig --add autofs
-if test -r /var/lock/subsys/automount; then
+# triggerpostun would get called after %post
+if [ -f /var/lock/subsys/automount ]; then
+       mv /var/lock/subsys/automount /var/lock/subsys/autofs
+fi
+if test -r /var/lock/subsys/autofs; then
        /etc/rc.d/init.d/autofs restart 1>&2
 else
        echo "Run \"/etc/rc.d/init.d/autofs start\" to start autofs daemon."
@@ -110,7 +114,7 @@ fi
 %preun
 if [ "$1" = "0" ]; then
        /sbin/chkconfig --del autofs
-       if [ -f /var/lock/subsys/automount ]; then
+       if [ -f /var/lock/subsys/autofs ]; then
                /etc/rc.d/init.d/autofs stop 1>&2
        fi
 fi
This page took 0.028763 seconds and 4 git commands to generate.