[debian-edu-commits] debian-edu/ 01/01: Revert "debian/debian-edu-config.postrm: Drop superfluous condition."

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Fri Feb 9 17:06:02 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 728dc46b2d8f8318399ba565011cd8425ba1a5d1
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Fri Feb 9 18:04:53 2018 +0100

    Revert "debian/debian-edu-config.postrm: Drop superfluous condition."
    
     This reverts commit 7922d27cf31eddc6598d21dd595a4e2a0cca669d.
     Maybe better keep both conditions.
---
 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 73a9ca5..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 grep -q Managed-by /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