[debian-edu-commits] debian-edu/ 01/01: Fix /var/lib/dovecot removal code in postrm purge. (Closes: #820075).
Wolfgang Schweer
schweer-guest at moszumanska.debian.org
Sat Apr 16 16:06:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
schweer-guest pushed a commit to branch master
in repository debian-edu-config.
commit 55c25432682a04576ea96c4cdca424ac44147078
Author: Wolfgang Schweer <wschweer at arcor.de>
Date: Sat Apr 16 18:08:25 2016 +0200
Fix /var/lib/dovecot removal code in postrm purge. (Closes: #820075).
---
debian/changelog | 1 +
debian/debian-edu-config.postrm | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 6b117b4..e5c2fc4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,7 @@ debian-edu-config (1.901) UNRELEASED; urgency=medium
- remove 'apt-get autoremove -y' from cf/cf.apt.
- add param '--auto-remove' to all apt-get purge commands
in cf/cf.ldapclient (Closes: #779646).
+ * Fix /var/lib/dovecot removal code in postrm purge. (Closes: #820075).
-- Wolfgang Schweer <wschweer at arcor.de> Thu, 14 Apr 2016 23:32:10 +0200
diff --git a/debian/debian-edu-config.postrm b/debian/debian-edu-config.postrm
index 08e4479..1a18620 100644
--- a/debian/debian-edu-config.postrm
+++ b/debian/debian-edu-config.postrm
@@ -30,7 +30,9 @@ case "$1" in
# remove /var/lib/dovecot directory (this does not
# interfere with dovecot-core, if installed)
- rmdir --ignore-fail-on-non-empty /var/lib/dovecot
+ if [ -e /var/lib/dovecot ] ; then
+ rmdir --ignore-fail-on-non-empty /var/lib/dovecot
+ fi
esac
#DEBHELPER#
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git
More information about the debian-edu-commits
mailing list