summaryrefslogtreecommitdiffstats
path: root/gnome/at-spi/post-install
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-11-11 21:17:13 +0100
committertnut <thierryn1 at hispeed dot ch>2009-11-11 21:17:13 +0100
commit0db497e1c9d84595beafe1baac4188e07bfbb54d (patch)
tree656f1fba1e625cd2f61d8c2982e3e71a74504ed3 /gnome/at-spi/post-install
parent7946295b3dd79cf42321ce49d97478a7e7bbc602 (diff)
downloadnutyx-pakxe-0db497e1c9d84595beafe1baac4188e07bfbb54d.tar.gz
nutyx-pakxe-0db497e1c9d84595beafe1baac4188e07bfbb54d.tar.bz2
nutyx-pakxe-0db497e1c9d84595beafe1baac4188e07bfbb54d.tar.xz
nutyx-pakxe-0db497e1c9d84595beafe1baac4188e07bfbb54d.zip
maj at-spi#1.28.1-1
Diffstat (limited to 'gnome/at-spi/post-install')
-rwxr-xr-xgnome/at-spi/post-install20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnome/at-spi/post-install b/gnome/at-spi/post-install
new file mode 100755
index 000000000..5fb56d7f0
--- /dev/null
+++ b/gnome/at-spi/post-install
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+port=at-spi
+
+# gconf schemas
+SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`"
+
+for SCHEMA in $SCHEMAS
+do
+ export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+ 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