summaryrefslogtreecommitdiffstats
path: root/gnome/gnome-keyring/post-install
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-06-08 13:42:33 +0200
committertnut <thierryn1 at hispeed dot ch>2010-06-08 13:42:33 +0200
commite6b51fdc842799e6e6ab67e2392d450fa068ab20 (patch)
treea17b100fbe627c6f98ebe4980cd11b41f5e7f7dc /gnome/gnome-keyring/post-install
parent4da624927d62bee97fbcb46db6c488df1534e186 (diff)
downloadnutyx-pakxe-e6b51fdc842799e6e6ab67e2392d450fa068ab20.tar.gz
nutyx-pakxe-e6b51fdc842799e6e6ab67e2392d450fa068ab20.tar.bz2
nutyx-pakxe-e6b51fdc842799e6e6ab67e2392d450fa068ab20.tar.xz
nutyx-pakxe-e6b51fdc842799e6e6ab67e2392d450fa068ab20.zip
gnome-keyring dans gnome
Diffstat (limited to 'gnome/gnome-keyring/post-install')
-rwxr-xr-xgnome/gnome-keyring/post-install18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnome/gnome-keyring/post-install b/gnome/gnome-keyring/post-install
new file mode 100755
index 000000000..8370ad96e
--- /dev/null
+++ b/gnome/gnome-keyring/post-install
@@ -0,0 +1,18 @@
+#!/bin/sh
+port=gnome-keyring
+# gconf schemas
+SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`"
+
+for SCHEMA in $SCHEMAS
+do
+ export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
+ /usr/bin/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