[Debian-live-changes] r2591 - dists/trunk/live-helper/debian
daniel at alioth.debian.org
daniel at alioth.debian.org
Fri Jul 27 07:45:24 UTC 2007
Author: daniel
Date: 2007-07-27 07:45:24 +0000 (Fri, 27 Jul 2007)
New Revision: 2591
Added:
dists/trunk/live-helper/debian/postinst
dists/trunk/live-helper/debian/prerm
Log:
Added: dists/trunk/live-helper/debian/postinst
===================================================================
--- dists/trunk/live-helper/debian/postinst (rev 0)
+++ dists/trunk/live-helper/debian/postinst 2007-07-27 07:45:24 UTC (rev 2591)
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ configure)
+ update-alternatives --install /usr/share/live-helper/templates \
+ live-helper_templates \
+ /usr/share/live-helper/templates.debian 100
+
+ update-alternatives --install /usr/share/live-helper/includes \
+ live-helper_includes \
+ /usr/share/live-helper/includes.debian 100
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
Property changes on: dists/trunk/live-helper/debian/postinst
___________________________________________________________________
Name: svn:executable
+ *
Added: dists/trunk/live-helper/debian/prerm
===================================================================
--- dists/trunk/live-helper/debian/prerm (rev 0)
+++ dists/trunk/live-helper/debian/prerm 2007-07-27 07:45:24 UTC (rev 2591)
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ remove|upgrade|deconfigure)
+ update-alternatives --remove live-helper_includes /usr/share/live-helper/includes.debian
+ update-alternatives --remove live-helper_templates /usr/share/live-helper/templates.debian
+ ;;
+
+ failed-upgrade)
+
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
Property changes on: dists/trunk/live-helper/debian/prerm
___________________________________________________________________
Name: svn:executable
+ *
More information about the Debian-live-changes
mailing list