%PDF- %PDF-
Direktori : /var/lib/dpkg/info/ |
Current File : /var/lib/dpkg/info/gdm3.postrm |
#!/bin/sh set -e # Need to load this before any output on stdout/stderr # otherwise the debconf command-stream will get # some invalid input and cause the failure of postrm. if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule fi if [ "$1" = "purge" ] ; then update-rc.d gdm3 remove >/dev/null if [ -d /etc/gdm3 ]; then for i in Init PreSession PostSession PostLogin; do if [ -d /etc/gdm3/$i ]; then rmdir --ignore-fail-on-non-empty /etc/gdm3/$i 2> /dev/null fi done rm -f /etc/gdm3/greeter.dconf-defaults rmdir --ignore-fail-on-non-empty /etc/gdm3 fi if which ucf >/dev/null; then ucf --purge /etc/gdm3/greeter.dconf-defaults ucfr --purge gdm3 /etc/gdm3/greeter.dconf-defaults fi rm -rf /var/lib/gdm3 rm -rf /run/gdm3 rm -rf /var/log/gdm3 rm -rf /var/cache/gdm if getent passwd gdm >/dev/null; then if which deluser >/dev/null; then deluser --system gdm || echo "Could not remove gdm user." fi fi if getent group gdm >/dev/null; then if which delgroup >/dev/null; then delgroup --system gdm || echo "Could not remove gdm group." fi fi fi # Automatically added by dh_installdeb/13.14.1ubuntu5 dpkg-maintscript-helper rm_conffile /etc/dbus-1/system.d/gdm.conf 43.0-3\~ -- "$@" # End automatically added section # Automatically added by dh_installdebconf/13.14.1ubuntu5 if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi # End automatically added section