diff options
author | Daniel Baumann <daniel@debian.org> | 2010-03-07 12:15:55 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2010-03-07 12:15:55 +0100 |
commit | baec91ad99d45386c686b70b2807cf4827b70d35 (patch) | |
tree | 0f2aec3feed42fc2c53348edda4ca0744145b371 | |
parent | f71b92cb67593cdc4eb063ae6d6d8118072d775a (diff) | |
download | vyos-live-build-baec91ad99d45386c686b70b2807cf4827b70d35.tar.gz vyos-live-build-baec91ad99d45386c686b70b2807cf4827b70d35.zip |
Removing obsolete mechanism of using alternatives for templates, has never been used anyway and it's more suitable to directly specify them in the config tree instead.
-rw-r--r-- | debian/live-helper.postinst | 28 | ||||
-rw-r--r-- | debian/live-helper.prerm | 23 | ||||
-rwxr-xr-x | debian/rules | 4 |
3 files changed, 0 insertions, 55 deletions
diff --git a/debian/live-helper.postinst b/debian/live-helper.postinst deleted file mode 100644 index 9137a2cc2..000000000 --- a/debian/live-helper.postinst +++ /dev/null @@ -1,28 +0,0 @@ -#!/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 diff --git a/debian/live-helper.prerm b/debian/live-helper.prerm deleted file mode 100644 index e30345b1f..000000000 --- a/debian/live-helper.prerm +++ /dev/null @@ -1,23 +0,0 @@ -#!/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 diff --git a/debian/rules b/debian/rules index 97b42fa48..287e0da1f 100755 --- a/debian/rules +++ b/debian/rules @@ -14,10 +14,6 @@ override_dh_auto_install: $(MAKE) -C po install DESTDIR=$(CURDIR)/debian/live-helper - # Preparing alternatives - mv debian/live-helper/usr/share/live-helper/includes debian/live-helper/usr/share/live-helper/includes.debian - mv debian/live-helper/usr/share/live-helper/templates debian/live-helper/usr/share/live-helper/templates.debian - # Removing double files rm -f debian/live-helper/usr/share/doc/live-helper/COPYING rm -f debian/live-helper/usr/share/doc/live-helper/ChangeLog |