[debian-edu-commits] debian-edu/ 52/437: Start on kdm theme.

Mike Gabriel sunweaver at debian.org
Sun Mar 2 23:49:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository debian-edu-artwork.

commit 6f37b7a090b45dcfd6c63de331a563ef49defbf7
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Sun Sep 3 09:13:49 2006 +0000

    Start on kdm theme.
---
 debian/debian-edu-artwork.postrm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/debian/debian-edu-artwork.postrm b/debian/debian-edu-artwork.postrm
new file mode 100644
index 0000000..109b42b
--- /dev/null
+++ b/debian/debian-edu-artwork.postrm
@@ -0,0 +1,18 @@
+#! /bin/sh
+set -e
+
+#DEBHELPER#
+
+case "$1" in
+  remove|deconfigure|failed-upgrade)
+    # switch kdm theme away from debian-edu
+    if grep -q '^Theme=/usr/share/apps/kdm/themes/debian-edu' \
+	/etc/kde3/kdm/kdmrc &&
+       grep -q '^UseTheme=true' /etc/kde3/kdm/kdmrc; then
+        sed -i -e 's/UseTheme=true/UseTheme=false/' /etc/kde3/kdm/kdmrc
+        echo "Removing and disabling Debian Edu KDM theme ..."
+    else
+        echo "KDM theme customised or not enabled, not touching kdmrc ..."
+    fi
+  ;;
+esac

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-artwork.git



More information about the debian-edu-commits mailing list