summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>1998-10-29 10:17:00 +0000
committerJohn Terpstra <jht@samba.org>1998-10-29 10:17:00 +0000
commit0129c460fc720daa9c5071a5fe9691262297b4c8 (patch)
tree9ee64593a4843259d841ab370037548ddf8972e7 /packaging
parent6f06a2393a026ddc1b21f504e0081023a571febb (diff)
downloadsamba-0129c460fc720daa9c5071a5fe9691262297b4c8.tar.gz
samba-0129c460fc720daa9c5071a5fe9691262297b4c8.tar.bz2
samba-0129c460fc720daa9c5071a5fe9691262297b4c8.zip
Fixed spec file entry that was causing the CDRom installer to generate
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. (This used to be commit 7eaf47853ea2f48702847c81a9ec7cd351a3079b)
Diffstat (limited to 'packaging')
-rw-r--r--packaging/PHT/TurboLinux/samba2.spec.tmpl2
-rw-r--r--packaging/RedHat/samba2.spec.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/PHT/TurboLinux/samba2.spec.tmpl b/packaging/PHT/TurboLinux/samba2.spec.tmpl
index 64ef9a7f5d..5505931626 100644
--- a/packaging/PHT/TurboLinux/samba2.spec.tmpl
+++ b/packaging/PHT/TurboLinux/samba2.spec.tmpl
@@ -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
diff --git a/packaging/RedHat/samba2.spec.tmpl b/packaging/RedHat/samba2.spec.tmpl
index a9370ae4ab..3693d22cca 100644
--- a/packaging/RedHat/samba2.spec.tmpl
+++ b/packaging/RedHat/samba2.spec.tmpl
@@ -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