Current Path : /var/lib/dpkg/info/ |
Current File : /var/lib/dpkg/info/proftpd-basic.postrm |
#!/bin/sh set -e if [ "$1" = "disappear" -o "$1" = "remove" ] then if [ -x /usr/sbin/update-inetd ] then update-inetd --disable ftp fi fi if [ "$1" = "purge" ] then rm -rf /etc/proftpd rm -rf /var/log/proftpd rm -f /etc/logrotate.d/proftpd-basic userdel --remove --force proftpd || true userdel ftp || true update-rc.d proftpd remove >/dev/null || exit $? fi