From 2395cb92b8c0a725ad4bbcd14b84fea4c63a6a8e Mon Sep 17 00:00:00 2001 From: fredjo Date: Wed, 4 Nov 2009 11:43:01 +0100 Subject: deplacement de at-spi vers extra --- extra/at-spi/post-install | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 extra/at-spi/post-install (limited to 'extra/at-spi/post-install') 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 -- cgit v1.2.3-70-g09d2