summaryrefslogtreecommitdiffstats
path: root/fredjo-gnome-2.28-test/gnome-settings-daemon/post-install
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-04 10:23:14 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-04 10:23:14 +0100
commitc511e1bfca3869b350dce2847975011fb2c2e1d3 (patch)
tree3d58c7b5b8f69ff50740c04e1a9d21327a3c24c2 /fredjo-gnome-2.28-test/gnome-settings-daemon/post-install
parent16d829aa0c7f46b9257a9bd5061b5e2cb78eaa84 (diff)
downloadnutyx-pakxe-c511e1bfca3869b350dce2847975011fb2c2e1d3.tar.gz
nutyx-pakxe-c511e1bfca3869b350dce2847975011fb2c2e1d3.tar.bz2
nutyx-pakxe-c511e1bfca3869b350dce2847975011fb2c2e1d3.tar.xz
nutyx-pakxe-c511e1bfca3869b350dce2847975011fb2c2e1d3.zip
Ajout du paquet gnome-settings-daemon#2.26.1
Diffstat (limited to 'fredjo-gnome-2.28-test/gnome-settings-daemon/post-install')
-rwxr-xr-xfredjo-gnome-2.28-test/gnome-settings-daemon/post-install20
1 files changed, 20 insertions, 0 deletions
diff --git a/fredjo-gnome-2.28-test/gnome-settings-daemon/post-install b/fredjo-gnome-2.28-test/gnome-settings-daemon/post-install
new file mode 100755
index 000000000..3cb420ae0
--- /dev/null
+++ b/fredjo-gnome-2.28-test/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=`gconftool-2 --get-default-source`
+ gconftool-2 --makefile-install-rule /$SCHEMA > /dev/null
+done
+
+# reload gconf caches
+if [ ! -z "`pidof gconfd-2`" ]
+then
+ killall -HUP gconfd-2 > /dev/null
+fi
+
+# End of file