summaryrefslogtreecommitdiffstats
path: root/extra/at-spi/post-install
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-04 11:43:01 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-04 11:43:01 +0100
commit2395cb92b8c0a725ad4bbcd14b84fea4c63a6a8e (patch)
treeee703ea12120882516f8328263304b3fd801d602 /extra/at-spi/post-install
parentee04fa00d556bf397ef53e2f0cdde7b8a2727d6d (diff)
downloadnutyx-extra-2395cb92b8c0a725ad4bbcd14b84fea4c63a6a8e.tar.gz
nutyx-extra-2395cb92b8c0a725ad4bbcd14b84fea4c63a6a8e.tar.bz2
nutyx-extra-2395cb92b8c0a725ad4bbcd14b84fea4c63a6a8e.tar.xz
nutyx-extra-2395cb92b8c0a725ad4bbcd14b84fea4c63a6a8e.zip
deplacement de at-spi vers extra
Diffstat (limited to 'extra/at-spi/post-install')
-rwxr-xr-xextra/at-spi/post-install20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/at-spi/post-install b/extra/at-spi/post-install
new file mode 100755
index 000000000..5fb56d7f0
--- /dev/null
+++ b/extra/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