]> git.donarmstrong.com Git - roundcube.git/blob - debian/roundcube.postinst
Refresh all patches.
[roundcube.git] / debian / roundcube.postinst
1 #!/bin/sh
2
3 set -e
4
5 # Handle old files that are not needed any more
6 for OLD in /etc/logrotate.d/roundcube /etc/default/roundcube /etc/cron.daily/roundcube; do
7     [ -f $OLD ] && {
8         if [ ! -s $OLD ]; then
9             rm $OLD
10         else
11             grep -q '^# 75321 DELETE 75321$' $OLD && rm $OLD
12         fi
13     }
14 done
15
16 #DEBHELPER#
17
18 exit 0