blob: 489c16137729768217f4aa379925c4a2f2001889 [file]
#!/bin/sh
# preinst script for APPLICATION_PACKAGE
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <new-preinst> `install'
# * <new-preinst> `install' <old-version>
# * <new-preinst> `upgrade' <old-version>
# * <old-preinst> `abort-upgrade' <new-version>
# for details, see https://www.debian.org/doc/debian-policy/ or
# the debian-policy package
package_type=deb
COMMON_SCRIPTS
LAUNCHER_AS_SERVICE_SCRIPTS
case "$1" in
install|upgrade)
if [ -n "$2" ]; then
:; LAUNCHER_AS_SERVICE_COMMANDS_UNINSTALL
fi
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
exit 0