summaryrefslogtreecommitdiff
path: root/debian/live-helper.postinst
blob: 9137a2cc233ad53d766990343b18df863a7d58db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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