2015-05-15 02:06:26 +09:00
|
|
|
#! /bin/sh
|
2022-07-02 23:23:31 +09:00
|
|
|
# prerm script for brain-config
|
2015-05-15 02:06:26 +09:00
|
|
|
#
|
|
|
|
# see: dh_installdeb(1)
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# summary of how this script can be called:
|
|
|
|
# * <prerm> `remove'
|
|
|
|
# * <prerm> `purge'
|
|
|
|
# * <old-prerm> `upgrade' <new-version>
|
|
|
|
# * <new-prerm> `failed-upgrade' <old-version>
|
|
|
|
# * <new-prerm> `abort-install'
|
|
|
|
# * <new-prerm> `abort-install' <old-version>
|
|
|
|
# * <new-prerm> `abort-upgrade' <old-version>
|
|
|
|
# * <disappearer's-prerm> `disappear' <overwriter> <new-version>
|
|
|
|
# for details, see http://www.debian.org/doc/debian-policy/ or
|
|
|
|
# the debian-policy package
|
|
|
|
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
purge|remove|upgrade)
|
|
|
|
;;
|
|
|
|
|
|
|
|
failed-upgrade|abort-install|abort-upgrade|disappear)
|
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
echo "prerm called with unknown argument \`$1'" >&2
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
#DEBHELPER#
|
|
|
|
|
|
|
|
exit 0
|