| 1 |
#! /bin/sh
|
| 2 |
|
| 3 |
# postrm script for fai
|
| 4 |
|
| 5 |
|
| 6 |
set -e
|
| 7 |
. /usr/share/debconf/confmodule
|
| 8 |
|
| 9 |
case "$1" in
|
| 10 |
purge)
|
| 11 |
rm -rf /etc/fai /boot/fai /var/run/fai
|
| 12 |
|
| 13 |
# delete debconf db entries
|
| 14 |
db_purge
|
| 15 |
;;
|
| 16 |
|
| 17 |
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;;
|
| 18 |
|
| 19 |
*)
|
| 20 |
echo "postrm called with unknown argument \`$1'" >&2
|
| 21 |
exit 1
|
| 22 |
|
| 23 |
esac
|
| 24 |
|
| 25 |
# dh_installdeb will replace this with shell code automatically
|
| 26 |
# generated by other debhelper scripts.
|
| 27 |
|
| 28 |
#DEBHELPER#
|
| 29 |
|
| 30 |
exit 0
|