mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-11-05 09:48:03 +09:00
37 lines
789 B
Bash
37 lines
789 B
Bash
#! /bin/sh
|
|
# prerm script for raspi-config
|
|
#
|
|
# 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
|