mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 20:20:06 +09:00
21 lines
377 B
Bash
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
|