From c2903bcc9ead593bf24c2a9d1787ffb66566485d Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 28 Feb 2010 15:52:56 +0100 Subject: Ajout de comix#4.0.4-1 --- extra/comix/post-install | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 extra/comix/post-install (limited to 'extra/comix/post-install') 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 -- cgit v1.2.3-70-g09d2