summaryrefslogtreecommitdiffstats
path: root/gnome/vino/post-install
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-06 13:06:16 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-06 13:06:16 +0100
commitcb3067c4e32e30a0223c890fc78bdcd7fd1ff7e9 (patch)
tree14a50fc3d561b0fd45fad9bb7b9910335f020905 /gnome/vino/post-install
parentfe248496d84337430557149021c0c3634eed26ec (diff)
downloadnutyx-extra-cb3067c4e32e30a0223c890fc78bdcd7fd1ff7e9.tar.gz
nutyx-extra-cb3067c4e32e30a0223c890fc78bdcd7fd1ff7e9.tar.bz2
nutyx-extra-cb3067c4e32e30a0223c890fc78bdcd7fd1ff7e9.tar.xz
nutyx-extra-cb3067c4e32e30a0223c890fc78bdcd7fd1ff7e9.zip
Ajout de vino#2.26.2-1
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