summaryrefslogtreecommitdiffstats
path: root/fredjo-gnome-2.28-test/at-spi/post-install
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-03 23:24:31 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-03 23:24:31 +0100
commiteaf2a52710bd047e4ee1a855df4ca0f9f0b59a6e (patch)
tree55a556ed65b524e970ccf9be66772b6fe5ed665f /fredjo-gnome-2.28-test/at-spi/post-install
parentde7ad144ba8537c9424f794334ed1851ab2b8645 (diff)
downloadnutyx-extra-eaf2a52710bd047e4ee1a855df4ca0f9f0b59a6e.tar.gz
nutyx-extra-eaf2a52710bd047e4ee1a855df4ca0f9f0b59a6e.tar.bz2
nutyx-extra-eaf2a52710bd047e4ee1a855df4ca0f9f0b59a6e.tar.xz
nutyx-extra-eaf2a52710bd047e4ee1a855df4ca0f9f0b59a6e.zip
Ajout du paquet at-spi#1.26.0
Diffstat (limited to 'fredjo-gnome-2.28-test/at-spi/post-install')
-rwxr-xr-xfredjo-gnome-2.28-test/at-spi/post-install20
1 files changed, 20 insertions, 0 deletions
diff --git a/fredjo-gnome-2.28-test/at-spi/post-install b/fredjo-gnome-2.28-test/at-spi/post-install
new file mode 100755
index 000000000..5fb56d7f0
--- /dev/null
+++ b/fredjo-gnome-2.28-test/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