[debian-edu-commits] debian-edu/ 39/437: * Add postinst code for debian-edu-artwork to select the debian-edu ldm theme at install time.

Mike Gabriel sunweaver at debian.org
Sun Mar 2 23:49:22 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 d9ce6c3db2994becafd718f670e01cffb07fb38b
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Thu Aug 10 05:35:39 2006 +0000

      * Add postinst code for debian-edu-artwork to select the debian-edu
        ldm theme at install time.
---
 debian/changelog                   |  2 ++
 debian/debian-edu-artwork.postinst | 12 ++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e9bad67..f93a824 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ debian-edu-artwork (0.0.5) UNRELEASED; urgency=low
   [ Petter Reinholdtsen ]
   * Copy debian-edu theme for ldm from the ltsp package to try to collect
     all artwork for Debian Edu in one location.
+  * Add postinst code for debian-edu-artwork to select the debian-edu
+    ldm theme at install time.
 
  -- Petter Reinholdtsen <pere at debian.org>  Wed,  9 Aug 2006 23:22:25 +0200
 
diff --git a/debian/debian-edu-artwork.postinst b/debian/debian-edu-artwork.postinst
new file mode 100644
index 0000000..30d6be3
--- /dev/null
+++ b/debian/debian-edu-artwork.postinst
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+set -e
+
+#DEBHELPER#
+
+case "$1" in
+  configure)
+    update-alternatives --install /usr/share/ldm/themes/default \
+        ldm-theme /usr/share/ldm/themes/debian-edu 80
+    ;;
+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