[debian-edu-commits] debian-edu/ 03/05: debian/debian-edu-config.postrm: Remove /etc/skel files created in postinst.
Wolfgang Schweer
schweer-guest at moszumanska.debian.org
Fri Jan 19 19:09:12 UTC 2018
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 60635739bd1e23c9e5c8353638d25336f7c02fff
Author: Wolfgang Schweer <wschweer at arcor.de>
Date: Fri Jan 19 19:17:41 2018 +0100
debian/debian-edu-config.postrm: Remove /etc/skel files created in postinst.
---
debian/debian-edu-config.postrm | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/debian/debian-edu-config.postrm b/debian/debian-edu-config.postrm
index 097d85c..c5d3f8a 100644
--- a/debian/debian-edu-config.postrm
+++ b/debian/debian-edu-config.postrm
@@ -37,7 +37,7 @@ case "$1" in
fi
# Don't leave Cfengine3 log files behind
- if [ -e /var/log/cfengine3/*.log ] ; then
+ if [ -e /var/log/cfengine3/promise_summary.log ] ; then
rm /var/log/cfengine3/*.log
fi
@@ -46,6 +46,20 @@ case "$1" in
if [ -e /var/lib/dovecot ] ; then
rmdir --ignore-fail-on-non-empty /var/lib/dovecot
fi
+
+ # directories created in postinst
+ if [ -e /etc/skel/.local ] ; then
+ rm -rf /etc/skel/.local
+ fi
+ if [ -e /etc/skel/.pki ] ; then
+ rm -rf /etc/skel/.pki
+ fi
+ if [ -e /etc/skel/.thunderbird ] ; then
+ rm -rf /etc/skel/.thunderbird
+ fi
+ if [ -e /etc/skel/.mozilla ] ; then
+ rm -rf /etc/skel/.mozilla
+ 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