X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fprerm;h=075976ca2192f962cfbe9f1656070c59f37ebab5;hb=e30e701e1239703070ae351212c71aa1a56075c4;hp=2f2896897a5094f5832b864a68de293da8627f55;hpb=849101efcfa61514aed2280735a17d8551bca5af;p=squirrelmail-change-pass-cn.git diff --git a/debian/prerm b/debian/prerm index 2f28968..075976c 100644 --- a/debian/prerm +++ b/debian/prerm @@ -11,7 +11,6 @@ case "$1" in PKG="squirrelmail-change-pass-cn" SQCONFDIR="/etc/squirrelmail" SQCONF="$SQCONFDIR/config.php" - CPCONF="/usr/share/squirrelmail/plugins/change_pass/config.php" need_restart=0 # Remove CARNet configuration from /etc/hosts.allow and @@ -28,20 +27,9 @@ case "$1" in # configuration. # if egrep -q '^\$plugins\[[0-9]+\][\ ]*=[\ ]*'\''change_pass'\' "$SQCONF"; then - cp_echo "CN: Disabling SquirrelMail change_pass plugin in $SQCONF" /usr/sbin/squirrelmail-configure --remove-plugin change_pass fi - # Backup change_pass configuration file (if any) and notify user. - # - if [ -f "$CPCONF" ]; then - cp_echo "CN: Doing backup for $CPCONF" - cp_backup_conffile -d "/var/backups/$PKG" -p $CPCONF - rm -f $CPCONF - rm -f $CPCONF.cn-old - cp_echo "CN: Backup is located in directory: /var/backups/$PKG/" - fi - # Remove poppassd service from xinetd. # if [ -f /etc/xinetd.d/poppassd ]; then