summaryrefslogtreecommitdiffstats
path: root/unmaintained/gnome-panel/gnome-panel.post-upgrade
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-05-30 14:29:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-05-30 14:29:31 +0000
commitaa677e4f1c9bc61117f79f82ddcca2c67ecc4172 (patch)
treedbf320713ab352cda866bd351d3ff994449fea59 /unmaintained/gnome-panel/gnome-panel.post-upgrade
parent0aab2e23bfd07508725afa132fa6474262ff4b55 (diff)
downloadaports-aa677e4f1c9bc61117f79f82ddcca2c67ecc4172.tar.bz2
aports-aa677e4f1c9bc61117f79f82ddcca2c67ecc4172.tar.xz
main/gnome-pane: moved to unmaintained
Diffstat (limited to 'unmaintained/gnome-panel/gnome-panel.post-upgrade')
-rw-r--r--unmaintained/gnome-panel/gnome-panel.post-upgrade21
1 files changed, 21 insertions, 0 deletions
diff --git a/unmaintained/gnome-panel/gnome-panel.post-upgrade b/unmaintained/gnome-panel/gnome-panel.post-upgrade
new file mode 100644
index 000000000..06060f905
--- /dev/null
+++ b/unmaintained/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