aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-panel/gnome-panel.post-upgrade
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:29:44 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:29:44 -0600
commitec5f73dfdbd4663c9e15a45f77f07a471247520b (patch)
tree633f87cdb53dba5ad575aaa12bb292d4527d13cb /main/gnome-panel/gnome-panel.post-upgrade
parent02d24b36f7dd89648923bcae35e271848ab9ca3f (diff)
downloadaports-ec5f73dfdbd4663c9e15a45f77f07a471247520b.tar.bz2
aports-ec5f73dfdbd4663c9e15a45f77f07a471247520b.tar.xz
testing/gnome-panel: promote to main
Diffstat (limited to 'main/gnome-panel/gnome-panel.post-upgrade')
-rw-r--r--main/gnome-panel/gnome-panel.post-upgrade21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/gnome-panel/gnome-panel.post-upgrade b/main/gnome-panel/gnome-panel.post-upgrade
new file mode 100644
index 0000000000..06060f9059
--- /dev/null
+++ b/main/gnome-panel/gnome-panel.post-upgrade
@@ -0,0 +1,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 "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
+
+GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
+echo "Installing GConf2 default entries to ${GCONF_CONFIG_SOURCE}"
+/usr/bin/gconftool-2 --config-source="${GCONF_CONFIG_SOURCE}" --direct --load /etc/gconf/schemas/panel-default-setup.entries >/dev/null