summaryrefslogtreecommitdiffstats
path: root/extra/libgweather/post-install
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-29 14:35:07 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-29 14:35:07 +0200
commit8b0b6537f228c6277d24fc0ccbce93e40868a2f1 (patch)
tree55e56198b55ca11681b65d9d7b3d6ccc67ca3931 /extra/libgweather/post-install
parent28a1eb13e9240bfff0cf2af6940d70411e1aa8f4 (diff)
downloadnutyx-extra-8b0b6537f228c6277d24fc0ccbce93e40868a2f1.tar.gz
nutyx-extra-8b0b6537f228c6277d24fc0ccbce93e40868a2f1.tar.bz2
nutyx-extra-8b0b6537f228c6277d24fc0ccbce93e40868a2f1.tar.xz
nutyx-extra-8b0b6537f228c6277d24fc0ccbce93e40868a2f1.zip
Ajout de libgweather#2.24.3-1
Diffstat (limited to 'extra/libgweather/post-install')
-rwxr-xr-xextra/libgweather/post-install20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/libgweather/post-install b/extra/libgweather/post-install
new file mode 100755
index 000000000..4cfa07ed7
--- /dev/null
+++ b/extra/libgweather/post-install
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+port=libgweather
+
+# gconf schemas
+SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`"
+
+for SCHEMA in $SCHEMAS
+do
+ export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
+ /usr/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