Dodan divert za squirrelmail/functions/strings.php zbog problema s PHP/SquirrelMail.
[squirrelmail-cn.git] / debian / postrm
1 #!/bin/sh
2
3 set -e
4
5 case "$1" in
6   purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
7     dpkg-divert --package squirrelmail-cn --remove --rename \
8       --divert /usr/share/squirrelmail/functions/strings.php.squirrelmail \
9         /usr/share/squirrelmail/functions/strings.php
10     ;;
11
12   *)
13     echo "postrm called with unknown argument \`$1'" >&2
14     exit 1
15     ;;
16 esac
17
18 # dh_installdeb will replace this with shell code automatically
19 # generated by other debhelper scripts.
20
21 #DEBHELPER#
22
23 exit 0