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.
This commit is contained in:
parent
adfd5f9c2a
commit
d119eacc45
|
@ -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
|
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue