summaryrefslogtreecommitdiffstats
path: root/gnome/libgnomekbd/post-install
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-10-24 18:59:29 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-10-24 18:59:29 +0200
commitf8513ad1c7f07d23a3a5ae874e2e066ccb7fbe7c (patch)
tree53657dfd14f2d02a8ff827d1ee38440c0d4ef944 /gnome/libgnomekbd/post-install
parent8cd2ec10006971d4634aa8cf183c80fff5813803 (diff)
downloadnutyx-extra-f8513ad1c7f07d23a3a5ae874e2e066ccb7fbe7c.tar.gz
nutyx-extra-f8513ad1c7f07d23a3a5ae874e2e066ccb7fbe7c.tar.bz2
nutyx-extra-f8513ad1c7f07d23a3a5ae874e2e066ccb7fbe7c.tar.xz
nutyx-extra-f8513ad1c7f07d23a3a5ae874e2e066ccb7fbe7c.zip
ajout libgnomekbd#2.26.0-1
Diffstat (limited to 'gnome/libgnomekbd/post-install')
-rwxr-xr-xgnome/libgnomekbd/post-install23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnome/libgnomekbd/post-install b/gnome/libgnomekbd/post-install
new file mode 100755
index 000000000..3026caebf
--- /dev/null
+++ b/gnome/libgnomekbd/post-install
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+port=libgnomekbd
+
+# gconf schemas
+SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`"
+
+for SCHEMA in $SCHEMAS
+do
+ export GCONF_CONFIG_SOURCE=`$GNOME_PREFIX/bin/gconftool-2 --get-default-source`
+ $GNOME_PREFIX/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
+
+# desktop database
+update-desktop-database > /dev/null
+
+# End of file