summaryrefslogtreecommitdiffstats
path: root/gnome-vfs/post-install
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /gnome-vfs/post-install
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'gnome-vfs/post-install')
-rwxr-xr-xgnome-vfs/post-install20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnome-vfs/post-install b/gnome-vfs/post-install
new file mode 100755
index 000000000..939b933c1
--- /dev/null
+++ b/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