8b22cfa8b5fce74bef0667a20afddb8afc339e78
[update-motd.git] / debian / prerm
1 #!/bin/sh
2 # prerm script for update-motd
3 #
4 # see: dh_installdeb(1)
5
6 set -e
7
8 case "$1" in
9         purge|remove|failed-upgrade|abort-install|abort-upgrade|disappear)
10                 # Remove update-motd cronjob
11                 rm -f /etc/cron.d/update-motd 2>/dev/null || true
12         ;;
13 esac
14
15 # dh_installdeb will replace this with shell code automatically
16 # generated by other debhelper scripts.
17
18 #DEBHELPER#
19
20 exit 0