diff options
author | Eloy Paris <peloy@samba.org> | 2003-07-15 17:22:38 +0000 |
---|---|---|
committer | Eloy Paris <peloy@samba.org> | 2003-07-15 17:22:38 +0000 |
commit | 4a12fe6044229cc5f59bd5029309ba9fe331b214 (patch) | |
tree | 582683bfb7da617aad2fd4a40ed323c52dfab2cc /packaging/Debian/debian/samba.prerm | |
parent | 8c4be2bbc9d1b42ae1b26a3a2519dd2c911dee45 (diff) | |
download | samba-4a12fe6044229cc5f59bd5029309ba9fe331b214.tar.gz samba-4a12fe6044229cc5f59bd5029309ba9fe331b214.tar.bz2 samba-4a12fe6044229cc5f59bd5029309ba9fe331b214.zip |
Debian updates. Brings files in packaging/Debian on par with the
latest Debian official packages for Debian unstable. Also fixes
patches that got out of date in the beta2->beta3 development process.
(This used to be commit 03871fd574bf9c0f6d88c96423f77e9ada7b16f7)
Diffstat (limited to 'packaging/Debian/debian/samba.prerm')
-rw-r--r-- | packaging/Debian/debian/samba.prerm | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/packaging/Debian/debian/samba.prerm b/packaging/Debian/debian/samba.prerm index 6a4a8a4b4b..ab62c706d8 100644 --- a/packaging/Debian/debian/samba.prerm +++ b/packaging/Debian/debian/samba.prerm @@ -1,24 +1,5 @@ #!/bin/sh -e -# Clean up any such stale file. -rm -f /tmp/samba-was-not-running - -# The smbd pid file is missing, or points to a dead process -if [ ! -f /var/run/samba/smbd.pid ] || \ - ! ps h `cat /var/run/samba/smbd.pid` > /dev/null -then - # The nmbd pid file is missing, or points to a dead process - if [ -f /var/run/samba/nmbd.pid ] || \ - ! ps h `cat /var/run/samba/nmbd.pid` > /dev/null - then - # let the postinst know not to start samba. - [ "$1" = "upgrade" ] && touch /tmp/samba-was-not-running - fi -fi - -# We call the init script to stop Samba, even if it only affects nmbd. -[ -x /etc/init.d/samba ] && /etc/init.d/samba stop - if [ "$1" = upgrade -a -n "$2" ] && dpkg --compare-versions "$2" lt 2.99 \ && [ -e /var/lib/samba/passdb.tdb -a ! -e /etc/samba/smbpasswd ] then |