Subversion Repositories

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

Rev 41 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 41 Rev 88
Line 3... Line 3...
3
#
3
#
4
# see: dh_installdeb(1)
4
# see: dh_installdeb(1)
5
5
6
set -e
6
set -e
7
7
-
 
8
PIKE=7.8
-
 
9
PIKEBIN=pike${PIKE}
-
 
10
8
# summary of how this script can be called:
11
# summary of how this script can be called:
9
#        * <postrm> `remove'
12
#        * <postrm> `remove'
10
#        * <postrm> `purge'
13
#        * <postrm> `purge'
11
#        * <old-postrm> `upgrade' <new-version>
14
#        * <old-postrm> `upgrade' <new-version>
12
#        * <new-postrm> `failed-upgrade' <old-version>
15
#        * <new-postrm> `failed-upgrade' <old-version>
Line 14... Line 17...
14
#        * <new-postrm> `abort-install' <old-version>
17
#        * <new-postrm> `abort-install' <old-version>
15
#        * <new-postrm> `abort-upgrade' <old-version>
18
#        * <new-postrm> `abort-upgrade' <old-version>
16
#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
19
#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
17
# for details, see http://www.debian.org/doc/debian-policy/ or
20
# for details, see http://www.debian.org/doc/debian-policy/ or
18
# the debian-policy package
21
# the debian-policy package
19
-
 
-
 
22
LOCAL_DIRS="lib/pike${PIKE}/modules lib/pike${PIKE}/include lib/pike${PIKE}"
20
23
21
case "$1" in
24
case "$1" in
22
       purge)
25
       purge)
23
        for d in include/pike include/pike7.8 lib/pike/site_pike lib/pike lib/pike7.8/site_pike lib/pike7.8 share/pike/site_pike \
-
 
24
             share/pike share/pike7.8/site_pike share/pike7.8; do
26
        for d in $LOCAL_DIRS; do
25
    	     rmdir /usr/local/$d || true
27
    	     rmdir /usr/local/$d || true
26
	done
28
	done
27
	;;
29
	;;
28
	
30
	
29
       remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
31
       remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)