20191210 release

Fix postrm script
This commit is contained in:
Serge Schneider 2019-12-10 14:23:41 +00:00
parent 7aca4ec3b0
commit a60e870b96
3 changed files with 26 additions and 2 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
raspi-config (20191210) buster; urgency=medium
* Fix postrm script
-- Serge Schneider <serge@raspberrypi.org> Tue, 10 Dec 2019 14:22:08 +0000
raspi-config (20191209) buster; urgency=medium raspi-config (20191209) buster; urgency=medium
* Add option to enable/disable screen blanking * Add option to enable/disable screen blanking

View File

@ -8,6 +8,4 @@ if dpkg --compare-versions "${2}" lt-nl "20170619"; then
update-rc.d -f raspi-config remove update-rc.d -f raspi-config remove
fi fi
rmdir --ignore-fail-on-non-empty /etc/X11/xorg.conf.d/
#DEBHELPER# #DEBHELPER#

20
debian/raspi-config.postrm vendored Normal file
View File

@ -0,0 +1,20 @@
#!/bin/sh
set -e
case "$1" in
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
purge)
if [ -d /etc/X11/xorg.conf.d/ ]; then
rmdir --ignore-fail-on-non-empty /etc/X11/xorg.conf.d/
fi
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0