[Pkg-samba-maint] [SCM] Debian packaging for Samba branch, samba_4.0, updated. upstream/4.0.6+dfsg-841-g00c035f

Ivo De Decker ivo.dedecker at ugent.be
Sun Jun 16 14:55:55 UTC 2013


The following commit has been merged in the samba_4.0 branch:
commit 00c035f2b78bd7d1a3cc3aaf6e7a245f62704fac
Author: Ivo De Decker <ivo.dedecker at ugent.be>
Date:   Sun Jun 16 16:29:26 2013 +0200

    don't remove log and state files during samba-ad-dc purge
    
    these files are purged when samba is purged

diff --git a/debian/samba-ad-dc.postrm b/debian/samba-ad-dc.postrm
index 3f8e633..91f4b1b 100644
--- a/debian/samba-ad-dc.postrm
+++ b/debian/samba-ad-dc.postrm
@@ -3,13 +3,6 @@
 set -e
 
 if [ "$1" = purge ]; then
-
-	# Remove Samba's state files, both volatile and non-volatile
-	rm -rf /var/run/samba/ /var/cache/samba/ /var/lib/samba
-
-	# Remove log files
-	rm -rf /var/log/samba/
-
 	if [ -e /usr/share/debconf/confmodule ]; then
 		. /usr/share/debconf/confmodule
 		db_purge

-- 
Debian packaging for Samba




More information about the Pkg-samba-maint mailing list