summaryrefslogtreecommitdiffstats
path: root/gnome/gnome-settings-daemon/post-install
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-10-24 12:52:22 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-10-24 12:52:22 +0200
commit59447ff0ad005389901052feffe3ee26a69eab40 (patch)
treeaf546d4b2bfa7f58006c36aefe270a4142f3388a /gnome/gnome-settings-daemon/post-install
parent4435b8487ae63060d2b6ba23b669ebe4efb26080 (diff)
downloadnutyx-pakxe-59447ff0ad005389901052feffe3ee26a69eab40.tar.gz
nutyx-pakxe-59447ff0ad005389901052feffe3ee26a69eab40.tar.bz2
nutyx-pakxe-59447ff0ad005389901052feffe3ee26a69eab40.tar.xz
nutyx-pakxe-59447ff0ad005389901052feffe3ee26a69eab40.zip
Ajout de gnome-settings.daemon#2.26.1-1
Diffstat (limited to 'gnome/gnome-settings-daemon/post-install')
-rwxr-xr-xgnome/gnome-settings-daemon/post-install20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnome/gnome-settings-daemon/post-install b/gnome/gnome-settings-daemon/post-install
new file mode 100755
index 000000000..262f66468
--- /dev/null
+++ b/gnome/gnome-settings-daemon/post-install
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+port=gnome-settings-daemon
+
+# gconf schemas
+SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`"
+
+for SCHEMA in $SCHEMAS
+do
+ export GCONF_CONFIG_SOURCE=`$GNOME_PREFIX/bin/gconftool-2 --get-default-source`
+ $GNOME_PREFIX/bin/gconftool-2 --makefile-install-rule /$SCHEMA > /dev/nul
+done
+
+# reload gconf caches
+if [ ! -z "`pidof gconfd-2`" ]
+then
+ killall -HUP gconfd-2 > /dev/null
+fi
+
+# End of file