projects
/
squirrelmail-change-pass-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dodana nova datoteka debian/copyright.
[squirrelmail-change-pass-cn.git]
/
debian
/
prerm
diff --git
a/debian/prerm
b/debian/prerm
index
9827786
..
70b8c88
100644
(file)
--- a/
debian/prerm
+++ b/
debian/prerm
@@
-9,6
+9,8
@@
case "$1" in
. /usr/share/carnet-tools/functions.sh
PKG="squirrelmail-change-pass-cn"
. /usr/share/carnet-tools/functions.sh
PKG="squirrelmail-change-pass-cn"
+ SQCONFDIR="/etc/squirrelmail"
+ SQCONF="$SQCONFDIR/config.php"
need_restart=0
# Remove CARNet configuration from /etc/hosts.allow and
need_restart=0
# Remove CARNet configuration from /etc/hosts.allow and
@@
-24,10
+26,7
@@
case "$1" in
# Remove SquirrelMail change_pass plugin from SquirrelMail
# configuration.
#
# Remove SquirrelMail change_pass plugin from SquirrelMail
# configuration.
#
- SQCONF=/etc/squirrelmail/config.php
-
if egrep -q '^\$plugins\[[0-9]+\][\ ]*=[\ ]*'\''change_pass'\' "$SQCONF"; then
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
/usr/sbin/squirrelmail-configure --remove-plugin change_pass
fi
@@
-73,4
+72,6
@@
case "$1" in
;;
esac
;;
esac
+#DEBHELPER#
+
exit 0
exit 0