[debian-edu-commits] debian-edu/ 01/01: d/debian-edu-config.postrm: make sure to only delete a Debian Edu gosa.conf
Wolfgang Schweer
schweer-guest at moszumanska.debian.org
Fri Feb 9 16:44:22 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 9811a41ba46c97d11d68dc471b6331d072d8e706
Author: Wolfgang Schweer <wschweer at arcor.de>
Date: Fri Feb 9 17:41:18 2018 +0100
d/debian-edu-config.postrm: make sure to only delete a Debian Edu gosa.conf
Thanks Holger for the hint.
---
debian/debian-edu-config.postrm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/debian-edu-config.postrm b/debian/debian-edu-config.postrm
index 65c1b41..852a7bd 100644
--- a/debian/debian-edu-config.postrm
+++ b/debian/debian-edu-config.postrm
@@ -49,7 +49,7 @@ case "$1" in
fi
# Don't leave copied gosa file behind
- if [ -e /etc/gosa/gosa.conf ] ; then
+ if [ -e /etc/gosa/gosa.conf ] && grep -q Managed-by /etc/gosa/gosa.conf ; then
rm /etc/gosa/gosa.conf
fi
--
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