mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 12:10:07 +09:00
20191210 release
Fix postrm script
This commit is contained in:
parent
7aca4ec3b0
commit
a60e870b96
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -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
|
||||
|
||||
* Add option to enable/disable screen blanking
|
||||
|
2
debian/raspi-config.postinst
vendored
2
debian/raspi-config.postinst
vendored
@ -8,6 +8,4 @@ if dpkg --compare-versions "${2}" lt-nl "20170619"; then
|
||||
update-rc.d -f raspi-config remove
|
||||
fi
|
||||
|
||||
rmdir --ignore-fail-on-non-empty /etc/X11/xorg.conf.d/
|
||||
|
||||
#DEBHELPER#
|
||||
|
20
debian/raspi-config.postrm
vendored
Normal file
20
debian/raspi-config.postrm
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user