summaryrefslogtreecommitdiffstats
path: root/extra/comix/post-install
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-28 15:52:56 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-28 15:52:56 +0100
commitc2903bcc9ead593bf24c2a9d1787ffb66566485d (patch)
treeb24fd459bcd9ce669b13585e6767900d3a20b2b0 /extra/comix/post-install
parentf33ed4e94c19b186ffea7243615f265f76dbd148 (diff)
downloadnutyx-pakxe-c2903bcc9ead593bf24c2a9d1787ffb66566485d.tar.gz
nutyx-pakxe-c2903bcc9ead593bf24c2a9d1787ffb66566485d.tar.bz2
nutyx-pakxe-c2903bcc9ead593bf24c2a9d1787ffb66566485d.tar.xz
nutyx-pakxe-c2903bcc9ead593bf24c2a9d1787ffb66566485d.zip
Ajout de comix#4.0.4-1
Diffstat (limited to 'extra/comix/post-install')
-rwxr-xr-xextra/comix/post-install20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/comix/post-install b/extra/comix/post-install
new file mode 100755
index 000000000..073764cba
--- /dev/null
+++ b/extra/comix/post-install
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+port=comix
+
+# 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