aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-power-manager/gnome-power-manager.pre-deinstall
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:39:01 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:39:01 -0600
commitdbe850da0b06bfb5c88af1fb92b8fd4ed08686f2 (patch)
treed6706ec02c99894c5e52ba87f3e924da8d85f4d5 /main/gnome-power-manager/gnome-power-manager.pre-deinstall
parent90926dd7f82852253cdb138d2d1f0f54b3488918 (diff)
downloadaports-dbe850da0b06bfb5c88af1fb92b8fd4ed08686f2.tar.bz2
aports-dbe850da0b06bfb5c88af1fb92b8fd4ed08686f2.tar.xz
testing/gnome-power-manager: promote to main
Diffstat (limited to 'main/gnome-power-manager/gnome-power-manager.pre-deinstall')
-rw-r--r--main/gnome-power-manager/gnome-power-manager.pre-deinstall7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/gnome-power-manager/gnome-power-manager.pre-deinstall b/main/gnome-power-manager/gnome-power-manager.pre-deinstall
new file mode 100644
index 0000000000..ed1e2c420a
--- /dev/null
+++ b/main/gnome-power-manager/gnome-power-manager.pre-deinstall
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+for i in gnome-power-manager.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