[debian-edu-commits] debian-edu/ 01/01: debian/debian-edu-config.postinst: Add condition for removal of /etc/insserv/kdm. Thanks jenkins.

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Tue Aug 16 09:26:01 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 c483dc529d491e7c18814706f160224ddd78cf3c
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Tue Aug 16 11:24:59 2016 +0200

    debian/debian-edu-config.postinst: Add condition for removal of /etc/insserv/kdm. Thanks jenkins.
---
 debian/changelog                  | 2 ++
 debian/debian-edu-config.postinst | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 8ee9dcf..cf1545b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ debian-edu-config (1.908) UNRELEASED; urgency=medium
   * Adjust share/config/kickoffrc to match the changed locations and / or
     names of KDE desktop files (systemsettings and Dolphin).
   * etc/samba/smb-debian-edu.conf: fix typo, thanks to Victory.
+  * debian/debian-edu-config.postinst:
+    - Add condition for removal of /etc/insserv/kdm.
 
  -- Wolfgang Schweer <wschweer at arcor.de>  Mon, 15 Aug 2016 21:42:48 +0200
 
diff --git a/debian/debian-edu-config.postinst b/debian/debian-edu-config.postinst
index 029c048..877e672 100644
--- a/debian/debian-edu-config.postinst
+++ b/debian/debian-edu-config.postinst
@@ -203,7 +203,9 @@ configure)
 
     if dpkg --compare-versions "$2" le "1.906"; then
 	rm_conffile debian-edu-config /etc/cfengine/debian-edu/cf.kdm
-        rm /etc/insserv/kdm
+	if [ -e /etc/insserv/kdm ] ; then
+            rm /etc/insserv/kdm
+	fi
     fi
 
     # sssd refuses to read the file if it has any other mode

-- 
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