| 1 |
#! /bin/sh |
| 2 |
# prerm script for isoqlog |
| 3 |
# |
| 4 |
# see: dh_installdeb(1) |
| 5 |
|
| 6 |
set -e |
| 7 |
|
| 8 |
|
| 9 |
case "$1" in |
| 10 |
remove|upgrade|deconfigure) |
| 11 |
rm -f /etc/cron.daily/isoqlog |
| 12 |
rm -f /etc/isoqlog/isoqlog.conf |
| 13 |
rm -f /etc/isoqlog/isoqlog.domains |
| 14 |
|
| 15 |
;; |
| 16 |
failed-upgrade) |
| 17 |
;; |
| 18 |
*) |
| 19 |
echo "prerm called with unknown argument \`$1'" >&2 |
| 20 |
exit 1 |
| 21 |
;; |
| 22 |
esac |
| 23 |
|
| 24 |
# dh_installdeb will replace this with shell code automatically |
| 25 |
# generated by other debhelper scripts. |
| 26 |
|
| 27 |
#DEBHELPER# |
| 28 |
|
| 29 |
exit 0 |
| 30 |
|
| 31 |
|