Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 magnus 1
#!/bin/sh
2
# postrm script for pmk
3
#
4
# see: dh_installdeb(1)
5
 
6
conffile=/etc/pmk/pmk.conf
7
 
8
set -e
9
 
10
case "$1" in
11
    purge)
12
	rm -f $conffile $conffile~ $conffile.bak \#$conffile\# \
13
	    $conffile.ucf-new $conffile.ucf-old $conffile.ucf-dist
14
	if which ucf >/dev/null; then
15
	    ucf --purge /etc/pmk.conf
16
	fi
17
	if which ucfr >/dev/null; then
18
	    ucfr --purge pmk /etc/pmk.conf
19
	fi
20
	;;
21
 
22
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
23
	;;
24
 
25
    *)
26
        echo "postrm called with unknown argument \`$1'" >&2
27
        exit 1
28
	;;
29
esac
30
 
31
# dh_installdeb will replace this with shell code automatically
32
# generated by other debhelper scripts.
33
 
34
#DEBHELPER#
35
 
36
exit 0
37