brain-config/debian/raspi-config.postrm
Serge Schneider a60e870b96 20191210 release
Fix postrm script
2019-12-10 14:31:38 +00:00

21 lines
377 B
Bash

#!/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