summaryrefslogtreecommitdiffstats
path: root/extra/gnome-vfs/post-install
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-09-18 18:13:38 +0200
committertnut <tnut at nutyx dot com>2011-09-18 18:13:38 +0200
commit4ad263025d1c9104314045017be4e1659b7efc24 (patch)
tree07467eca0a1bf789fe4060e34830c4649fbb537e /extra/gnome-vfs/post-install
parent2529e7c950a040de6a0ceb945f23ebfb6034d04f (diff)
downloadnutyx-extra-4ad263025d1c9104314045017be4e1659b7efc24.tar.gz
nutyx-extra-4ad263025d1c9104314045017be4e1659b7efc24.tar.bz2
nutyx-extra-4ad263025d1c9104314045017be4e1659b7efc24.tar.xz
nutyx-extra-4ad263025d1c9104314045017be4e1659b7efc24.zip
ajout gnome-vfs 2.24.4-1
Diffstat (limited to 'extra/gnome-vfs/post-install')
-rwxr-xr-xextra/gnome-vfs/post-install20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/gnome-vfs/post-install b/extra/gnome-vfs/post-install
new file mode 100755
index 000000000..939b933c1
--- /dev/null
+++ b/extra/gnome-vfs/post-install
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+port=gnome-vfs
+
+# 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