summaryrefslogtreecommitdiff
path: root/debian/live-helper.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-02-08 10:49:03 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:41 +0100
commit301d507f12281f15580ad95c48f66fa07d16f48c (patch)
treeaab23d6f38115bbf814af7821a9a7af0f82bc94f /debian/live-helper.postinst
parent43bc965d5abb41bebad8c8d0e08f897649e7f869 (diff)
downloadlive-build-301d507f12281f15580ad95c48f66fa07d16f48c.zip
live-build-301d507f12281f15580ad95c48f66fa07d16f48c.tar.gz
Prefixing debhelper files with package name.
Diffstat (limited to 'debian/live-helper.postinst')
-rw-r--r--debian/live-helper.postinst28
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/live-helper.postinst b/debian/live-helper.postinst
new file mode 100644
index 0000000..9137a2c
--- /dev/null
+++ b/debian/live-helper.postinst
@@ -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