summaryrefslogtreecommitdiffstats
path: root/extra/libgsf/post-install
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-28 12:05:36 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-28 12:05:36 +0200
commita585ade25201be85437f8732698a4a882fc62235 (patch)
tree8b00cf689ebedee53424fbad78859365f96387d4 /extra/libgsf/post-install
parent9cb0f75b41dbc00e0c8ba59e4e172f889492060d (diff)
downloadnutyx-pakxe-a585ade25201be85437f8732698a4a882fc62235.tar.gz
nutyx-pakxe-a585ade25201be85437f8732698a4a882fc62235.tar.bz2
nutyx-pakxe-a585ade25201be85437f8732698a4a882fc62235.tar.xz
nutyx-pakxe-a585ade25201be85437f8732698a4a882fc62235.zip
Ajout de libgsf#1.14.8-2
Diffstat (limited to 'extra/libgsf/post-install')
-rwxr-xr-xextra/libgsf/post-install20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/libgsf/post-install b/extra/libgsf/post-install
new file mode 100755
index 000000000..282f95973
--- /dev/null
+++ b/extra/libgsf/post-install
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+port=libgsf
+
+# gconf schemas
+SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`"
+
+for SCHEMA in $SCHEMAS
+do
+ export GCONF_CONFIG_SOURCE=`/$GNOME_PREFIX/bin/gconftool-2 --get-default-source`
+ /$GNOME_PREFIX/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