aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-power-manager/gnome-power-manager.post-upgrade
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.post-upgrade
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.post-upgrade')
-rw-r--r--main/gnome-power-manager/gnome-power-manager.post-upgrade7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/gnome-power-manager/gnome-power-manager.post-upgrade b/main/gnome-power-manager/gnome-power-manager.post-upgrade
new file mode 100644
index 0000000000..8d6b50a50e
--- /dev/null
+++ b/main/gnome-power-manager/gnome-power-manager.post-upgrade
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+for i in gnome-power-manager.schemas; do
+ echo "Installing GConf2 schema $i."
+ GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \
+ /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null
+done