mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 12:10:07 +09:00
Allow the previous version to upgrade correctly
This commit is contained in:
parent
3a5d75340a
commit
5aadc27040
13
debian/changelog
vendored
13
debian/changelog
vendored
@ -1,3 +1,16 @@
|
||||
raspi-config (20150131-3) unstable; urgency=low
|
||||
|
||||
* Add prerm failed-upgrade to allow upgrades
|
||||
|
||||
-- Serge Schneider <serge@raspberrypi.org> Wed, 06 May 2015 15:33:35 +0100
|
||||
|
||||
raspi-config (20150131-2) unstable; urgency=low
|
||||
|
||||
* Prevent postinstall from trying to stop /etc/init.d/raspi-config
|
||||
dh_installinit --noscripts
|
||||
|
||||
-- Serge Schneider <serge@raspberrypi.org> Wed, 06 May 2015 14:23:57 +0100
|
||||
|
||||
raspi-config (20150131-1) unstable; urgency=low
|
||||
|
||||
* Add Pi2 overclock preset
|
||||
|
36
debian/raspi-config.prerm
vendored
Normal file
36
debian/raspi-config.prerm
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
#! /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
|
3
debian/rules
vendored
3
debian/rules
vendored
@ -9,5 +9,8 @@
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
override_dh_installinit:
|
||||
dh_installinit --noscripts
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
Loading…
Reference in New Issue
Block a user