blob: 1e2421859d54b4fead40af3c340c8499bacc96f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $NetBSD: deinstall.tmpl,v 1.5 2003/12/28 14:24:49 jmmv Exp $
#
# Unregister GConf2 schema files from GConf2's database at install time.
#
GCONFTOOL2="@GCONFTOOL2@"
GCONF2_ENTRIES="@GCONF2_ENTRIES@"
GCONF2_SCHEMAS="@GCONF2_SCHEMAS@"
GCONF2_SCHEMAS_DIR="@GCONF2_SCHEMAS_DIR@"
GCONF2_CONFIG_SOURCE="@GCONF2_CONFIG_SOURCE@"
case ${STAGE} in
DEINSTALL)
for f in ${GCONF2_ENTRIES}; do
${GCONFTOOL2} --config-source=${GCONF2_CONFIG_SOURCE} \
--direct --unload ${GCONF2_SCHEMAS_DIR}/$f >/dev/null
done
for f in ${GCONF2_SCHEMAS}; do
GCONF_CONFIG_SOURCE="${GCONF2_CONFIG_SOURCE}" \
${GCONFTOOL2} --makefile-uninstall-rule \
${GCONF2_SCHEMAS_DIR}/$f >/dev/null
done
;;
*)
;;
esac
|