summaryrefslogtreecommitdiffstats
path: root/gnome/vino/post-install
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-11-07 21:56:34 +0100
committerThierry N <thierryn1 at hispeed dot ch>2009-11-07 21:56:34 +0100
commitbf6289127c509623f5dfc2ae7af6ad37ef6751aa (patch)
tree360809305b92e766744b7e8adae3a6927fdc4381 /gnome/vino/post-install
parent02e009a430e55a7ecd77a1ee5315b7e2f303f03a (diff)
parent60d8f8d65250565bd44a924602b5c45a74643bd7 (diff)
downloadnutyx-pakxe-bf6289127c509623f5dfc2ae7af6ad37ef6751aa.tar.gz
nutyx-pakxe-bf6289127c509623f5dfc2ae7af6ad37ef6751aa.tar.bz2
nutyx-pakxe-bf6289127c509623f5dfc2ae7af6ad37ef6751aa.tar.xz
nutyx-pakxe-bf6289127c509623f5dfc2ae7af6ad37ef6751aa.zip
Merge remote branch 'tnut-gnome/master'
Diffstat (limited to 'gnome/vino/post-install')
-rwxr-xr-xgnome/vino/post-install23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnome/vino/post-install b/gnome/vino/post-install
new file mode 100755
index 000000000..0d04f6132
--- /dev/null
+++ b/gnome/vino/post-install
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+port=vino
+
+# 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
+
+# desktop database
+update-desktop-database > /dev/null
+
+# End of file