Subversion Repositories

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

Rev 13 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 magnus 1
#!/bin/sh
2
# postrm script for prayer
3
#
4
# see: dh_installdeb(1)
5
 
6
set -e
7
 
8
# summary of how this script can be called:
9
#        * <postrm> `remove'
10
#        * <postrm> `purge'
11
#        * <old-postrm> `upgrade' <new-version>
12
#        * <new-postrm> `failed-upgrade' <old-version>
13
#        * <new-postrm> `abort-install'
14
#        * <new-postrm> `abort-install' <old-version>
15
#        * <new-postrm> `abort-upgrade' <old-version>
16
#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
17
# for details, see http://www.debian.org/doc/debian-policy/ or
18
# the debian-policy package
19
 
20
 
21
case "$1" in
22
    purge)
14 magnus 23
        [ -e /var/run/prayer/ ] || dpkg-statoverride --remove /var/run/prayer
24
        ;;
3 magnus 25
 
14 magnus 26
    remove|disappear|upgrade|abort-install|failed-upgrade|abort-upgrade)
3 magnus 27
 
28
        ;;
29
 
30
    *)
31
        echo "postrm called with unknown argument \`$1'" >&2
32
        exit 1
33
 
34
esac
35
 
36
# dh_installdeb will replace this with shell code automatically
37
# generated by other debhelper scripts.
38
 
39
#DEBHELPER#
40
 
41
exit 0