source: trunk/debathena/config/gconf2-config/debian/debathena-gconf2-config.postrm @ 24493

Revision 24493, 1.1 KB checked in by broder, 15 years ago (diff)
In gconf2-config: * Configure gconf through /usr/share/gconf/default.path instead of /etc/gconf/2/path, as it makes ucf less likely to do dumb things. (Trac: #247)
  • Property svn:executable set to *
RevLine 
[24493]1#!/bin/sh
2# postrm script for debathena-gconf2-config
3#
4# see: dh_installdeb(1)
5
6set -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
22# dh_installdeb will replace this with shell code automatically
23# generated by other debhelper scripts.
24
25#DEBHELPER#
26
27case "$1" in
28    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
29        if hash ucf >/dev/null 2>&1 &&
30            [ -r /usr/share/gconf/default.path ] &&
31            [ -r /etc/gconf/2/path ]; then
32            ucf /usr/share/gconf/default.path /etc/gconf/2/path
33        fi
34    ;;
35
36    *)
37        echo "postrm called with unknown argument \`$1'" >&2
38        exit 1
39    ;;
40esac
41
42exit 0
43
44
Note: See TracBrowser for help on using the repository browser.