/[kvoss]/package/debian/kvalobs/trunk/postrm
ViewVC logotype

Contents of /package/debian/kvalobs/trunk/postrm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 424 - (show annotations) (download)
Thu Jun 5 19:36:09 2008 UTC (12 years, 2 months ago) by borgem
File size: 1716 byte(s)
Set correct group and permission.
1 #!/bin/sh
2 # postrm script for kvalobs
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' <overwriter>
17 # <overwriter-version>
18 # for details, see http://www.debian.org/doc/debian-policy/ or
19 # the debian-policy package
20
21 #BINDIR, BIN and DIR must be in sync with the respectives variables in postinst.
22
23 BINDIR="/usr/bin"
24 BIN="kv2kro kvAgregated kvconfig kvDataInputd kvDataInputd_clt kvdbadmin kvManagerd kvmgrclt
25 kvQabased kvServiced kvstart kvstop kvsynopclt kvsynopd kvsynopdbadmin kvsynopdbclt
26 kvsynopd_initdb kvsynopdparse norcom2kv"
27
28 DIRS="/usr/share/kvalobs/metadata
29 /etc/kvalobs
30 /var/kvalobs
31 /var/kvalobs/agregate
32 /var/kvalobs/kvsynop
33 /var/kvalobs/kvsynop/debug
34 /var/kvalobs/log
35 /var/kvalobs/log/html
36 /var/kvalobs/log/kvsynop
37 /var/kvalobs/run"
38
39
40 case "$1" in
41 remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
42 ;;
43
44 purge)
45 for i in "$BIN"; do
46 dpkg-statoverride --remove $BINDIR/$i
47 fi
48 done
49 for i in "$DIRS"; do
50 dpkg-statoverride --remove $i
51 done
52 ;;
53
54 *)
55 echo "postrm called with unknown argument \`$1'" >&2
56 exit 1
57 ;;
58 esac
59
60 # dh_installdeb will replace this with shell code automatically
61 # generated by other debhelper scripts.
62
63 #DEBHELPER#
64
65 exit 0
66
67

Properties

Name Value
svn:executable *

svn@met.no
ViewVC Help
Powered by ViewVC 1.1.5