summaryrefslogtreecommitdiffstats
path: root/fredjo-gnome-2.28-test/gnome-vfs/post-install
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-04 10:27:35 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-04 10:27:35 +0100
commitb64e00abbb50aa19a6e53a7eedd9b28f2878c42f (patch)
treeb4f0bf066c64114a24edf040a278eeaf49f488f2 /fredjo-gnome-2.28-test/gnome-vfs/post-install
parent2156ba6decf5db1903c5a300524328ea066ad920 (diff)
downloadnutyx-extra-b64e00abbb50aa19a6e53a7eedd9b28f2878c42f.tar.gz
nutyx-extra-b64e00abbb50aa19a6e53a7eedd9b28f2878c42f.tar.bz2
nutyx-extra-b64e00abbb50aa19a6e53a7eedd9b28f2878c42f.tar.xz
nutyx-extra-b64e00abbb50aa19a6e53a7eedd9b28f2878c42f.zip
Ajout du paquet gnome-vfs#2.24.1
Diffstat (limited to 'fredjo-gnome-2.28-test/gnome-vfs/post-install')
-rwxr-xr-xfredjo-gnome-2.28-test/gnome-vfs/post-install20
1 files changed, 20 insertions, 0 deletions
diff --git a/fredjo-gnome-2.28-test/gnome-vfs/post-install b/fredjo-gnome-2.28-test/gnome-vfs/post-install
new file mode 100755
index 000000000..114a7d7b2
--- /dev/null
+++ b/fredjo-gnome-2.28-test/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=`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