aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-panel/gnome-panel.pre-deinstall
blob: 96aa7274d48123d60120035de4a2a4e6799ed4fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

for i in \
	clock.schemas \
	fish.schemas \
	panel-compatibility.schemas \
	panel-general.schemas \
	panel-global.schemas \
	panel-object.schemas \
	panel-toplevel.schemas \
	window-list.schemas \
	workspace-switcher.schemas \
; do
        echo "Uninstalling GConf2 schema $i."
	GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \
		/usr/bin/gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$i >/dev/null
done

GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
echo "Uninstalling GConf2 default entries from ${GCONF_CONFIG_SOURCE}"
/usr/bin/gconftool-2 --config-source="${GCONF_CONFIG_SOURCE}" --direct --unload /etc/gconf/schemas/panel-default-setup.entries >/dev/null