summaryrefslogtreecommitdiffstats
path: root/main/gnome-power-manager/gnome-power-manager.post-install
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-install
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-install')
-rw-r--r--main/gnome-power-manager/gnome-power-manager.post-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/gnome-power-manager/gnome-power-manager.post-install b/main/gnome-power-manager/gnome-power-manager.post-install
new file mode 100644
index 000000000..8d6b50a50
--- /dev/null
+++ b/main/gnome-power-manager/gnome-power-manager.post-install
@@ -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