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