summaryrefslogtreecommitdiffstats
path: root/extra/comix/post-install
diff options
context:
space:
mode:
authorgeantbrun <bg@nutyx.(none)>2010-02-28 22:34:31 +0100
committergeantbrun <bg@nutyx.(none)>2010-02-28 22:34:31 +0100
commit7f04d70969fddcafbe8294be040ee742fa3c4527 (patch)
tree1675702634ecbcb496f5df6a7a94a42f49ec13c8 /extra/comix/post-install
parentdef70f9b2a067d903eae7c9c02fdff1ab709338a (diff)
parentc7752ba75adfa43cc2839074566b3a2ede63432b (diff)
downloadnutyx-extra-7f04d70969fddcafbe8294be040ee742fa3c4527.tar.gz
nutyx-extra-7f04d70969fddcafbe8294be040ee742fa3c4527.tar.bz2
nutyx-extra-7f04d70969fddcafbe8294be040ee742fa3c4527.tar.xz
nutyx-extra-7f04d70969fddcafbe8294be040ee742fa3c4527.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