X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=webalizer-cn.git;a=blobdiff_plain;f=debian%2Fpostrm;fp=debian%2Fpostrm;h=abf0d1f3be636038874f3b17eaa989709e2540e1;hp=a44740182ec94307d606493c5723e6b9baa798cb;hb=2572a7e51941751deca23d1e06b885dbd141230e;hpb=7a3b81a1258605c241b3046e50351e197d2e8135 diff --git a/debian/postrm b/debian/postrm index a447401..abf0d1f 100755 --- a/debian/postrm +++ b/debian/postrm @@ -5,31 +5,31 @@ set -e PKG="webalizer-cn" if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then - . /usr/share/apache2/apache2-maintscript-helper + . /usr/share/apache2/apache2-maintscript-helper - webalizer_enable() { - echo "CN: Purging $PKG configuration for Apache2." - return 0 - } + webalizer_enable() { + echo "CN: Purging $PKG configuration for Apache2." + return 0 + } else - echo "CN: Could not load Apache 2.4 maintainer script helper." + echo "CN: Could not load Apache 2.4 maintainer script helper." - webalizer_enable() { - return 1 - } + webalizer_enable() { + return 1 + } fi webalizer_error() { - echo "CN: Error while trying to purge $PKG configuration for Apache2." + echo "CN: Error while trying to purge $PKG configuration for Apache2." } if [ "$1" = "abort-install" ] || [ "$1" = "abort-upgrade" ]; then - conffile=/etc/apache2/conf.d/$PKG.conf + conffile=/etc/apache2/conf.d/$PKG.conf - if [ -e "$conffile.dpkg-remove" ]; then - echo "CN: Reinstalling $conffile that was moved away." - mv "$conffile.dpkg-remove" "$conffile" - fi + if [ -e "$conffile.dpkg-remove" ]; then + echo "CN: Reinstalling $conffile that was moved away." + mv "$conffile.dpkg-remove" "$conffile" + fi fi #DEBHELPER#