2020-07-06 03:09:26 +00:00
|
|
|
#!/bin/sh
|
2020-09-08 09:54:51 +00:00
|
|
|
# postinst script for udm-boot
|
|
|
|
#
|
|
|
|
# see: dh_installdeb(1)
|
|
|
|
|
2020-07-06 03:09:26 +00:00
|
|
|
set -e
|
|
|
|
|
2020-09-08 09:54:51 +00:00
|
|
|
# summary of how this script can be called:
|
|
|
|
# * <postinst> `configure' <most-recently-configured-version>
|
|
|
|
# * <old-postinst> `abort-upgrade' <new version>
|
|
|
|
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
|
|
|
# <new-version>
|
|
|
|
# * <postinst> `abort-remove'
|
|
|
|
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
|
|
|
# <failed-install-package> <version> `removing'
|
|
|
|
# <conflicting-package> <version>
|
|
|
|
# for details, see https://www.debian.org/doc/debian-policy/ or
|
|
|
|
# the debian-policy package
|
|
|
|
|
2021-01-30 01:09:12 +00:00
|
|
|
alias deb-systemd-invoke='systemctl --no-block --'
|
2020-09-08 09:54:51 +00:00
|
|
|
|
2020-07-06 03:09:26 +00:00
|
|
|
case "$1" in
|
|
|
|
configure)
|
|
|
|
;;
|
|
|
|
|
|
|
|
abort-upgrade|abort-remove|abort-deconfigure)
|
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
echo "postinst called with unknown argument \`$1'" >&2
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2020-09-08 09:54:51 +00:00
|
|
|
# dh_installdeb will replace this with shell code automatically
|
|
|
|
# generated by other debhelper scripts.
|
|
|
|
|
|
|
|
#DEBHELPER#
|
|
|
|
|
2020-07-06 03:09:26 +00:00
|
|
|
exit 0
|