diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:16 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:26 +0100 |
commit | f314791fa2fa3e6a557ca50ecb4a0cf7798fee79 (patch) | |
tree | 1289402c2df38afa3f1f70c7e40fe4f35835d670 /debian/postinst | |
parent | c79ab34a7c597c9e3ab202c644121c6944789424 (diff) | |
download | vyos-live-build-f314791fa2fa3e6a557ca50ecb4a0cf7798fee79.tar.gz vyos-live-build-f314791fa2fa3e6a557ca50ecb4a0cf7798fee79.zip |
Adding live-helper 1.0~a20-1.
Diffstat (limited to 'debian/postinst')
-rw-r--r-- | debian/postinst | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 000000000..9137a2cc2 --- /dev/null +++ b/debian/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 |