summaryrefslogtreecommitdiffstats
path: root/main/gnome-control-center/gnome-control-center.pre-deinstall
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:36:47 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:36:47 -0600
commit25b60550c9dc5583cfbe8e1d2cc28c476c14094b (patch)
tree5158c7d390f4be5ad0fef6c11942efe703817491 /main/gnome-control-center/gnome-control-center.pre-deinstall
parent12394b7eecedba1ddef418564a7fd49d2aaa697d (diff)
downloadaports-25b60550c9dc5583cfbe8e1d2cc28c476c14094b.tar.bz2
aports-25b60550c9dc5583cfbe8e1d2cc28c476c14094b.tar.xz
testing/gnome-control-center: promote to main
Diffstat (limited to 'main/gnome-control-center/gnome-control-center.pre-deinstall')
-rw-r--r--main/gnome-control-center/gnome-control-center.pre-deinstall7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/gnome-control-center/gnome-control-center.pre-deinstall b/main/gnome-control-center/gnome-control-center.pre-deinstall
new file mode 100644
index 000000000..9b03979ce
--- /dev/null
+++ b/main/gnome-control-center/gnome-control-center.pre-deinstall
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+for i in control-center.schemas fontilus.schemas gnome-control-center.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