diff options
author | Daniel Baumann <daniel@debian.org> | 2009-02-08 10:49:03 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:41 +0100 |
commit | 301d507f12281f15580ad95c48f66fa07d16f48c (patch) | |
tree | aab23d6f38115bbf814af7821a9a7af0f82bc94f /debian/live-helper.prerm | |
parent | 43bc965d5abb41bebad8c8d0e08f897649e7f869 (diff) | |
download | vyos-live-build-301d507f12281f15580ad95c48f66fa07d16f48c.tar.gz vyos-live-build-301d507f12281f15580ad95c48f66fa07d16f48c.zip |
Prefixing debhelper files with package name.
Diffstat (limited to 'debian/live-helper.prerm')
-rw-r--r-- | debian/live-helper.prerm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/live-helper.prerm b/debian/live-helper.prerm new file mode 100644 index 000000000..e30345b1f --- /dev/null +++ b/debian/live-helper.prerm @@ -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 |