Fixed spec file entry that was causing the CDRom installer to generate
authorJohn Terpstra <jht@samba.org>
Thu, 29 Oct 1998 10:17:00 +0000 (10:17 +0000)
committerJohn Terpstra <jht@samba.org>
Thu, 29 Oct 1998 10:17:00 +0000 (10:17 +0000)
a message claiming that package installation had failed when it really
did work. The error was caused by the killall command being used where
there is no /proc for it to work on.

packaging/PHT/TurboLinux/samba2.spec.tmpl
packaging/RedHat/samba2.spec.tmpl

index 64ef9a7f5d49ac937725ddbfb58f689fd4615e9b..5505931626a7b591330808e5f2efb2d0f0045a31 100644 (file)
@@ -195,7 +195,7 @@ fi
 # Add swat entry to /etc/inetd.conf if needed
 if !( grep ^[:space:]*swat /etc/inetd.conf > /dev/null ) then
        echo 'swat      stream  tcp     nowait.400      root    /usr/sbin/swat swat' >> /etc/inetd.conf
-killall -1 inetd
+killall -1 inetd || :
 fi
 
 %preun
index a9370ae4abae4c7f269b146fb0c25b328dbf7c45..3693d22ccac90b9f8e64b44d74d69fb9eab7b563 100644 (file)
@@ -195,7 +195,7 @@ fi
 # Add swat entry to /etc/inetd.conf if needed
 if !( grep ^[:space:]*swat /etc/inetd.conf > /dev/null ) then
        echo 'swat      stream  tcp     nowait.400      root    /usr/sbin/swat swat' >> /etc/inetd.conf
-killall -1 inetd
+killall -1 inetd || :
 fi
 
 %preun