summaryrefslogtreecommitdiffstats
path: root/extra/comix/post-install
diff options
context:
space:
mode:
authorsibelle <lesibel@free.fr>2010-02-28 21:35:23 +0100
committersibelle <lesibel@free.fr>2010-02-28 21:35:23 +0100
commitd39b96da3a824aa47bb9609c8b3bc037e8d48f27 (patch)
treeadd8e5cbb04af7b1db8445cf1dbae54eabca018f /extra/comix/post-install
parente57f8d990a2d9ae2c84bbe39d2a53537a2533517 (diff)
parenta3fa0507e5fb9711b66619e800f8a3a133ff5727 (diff)
downloadnutyx-extra-d39b96da3a824aa47bb9609c8b3bc037e8d48f27.tar.gz
nutyx-extra-d39b96da3a824aa47bb9609c8b3bc037e8d48f27.tar.bz2
nutyx-extra-d39b96da3a824aa47bb9609c8b3bc037e8d48f27.tar.xz
nutyx-extra-d39b96da3a824aa47bb9609c8b3bc037e8d48f27.zip
Merge remote branch 'nutyx-2009/master'
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