summaryrefslogtreecommitdiffstats
path: root/fredjo-gnome-2.28-test/nautilus/post-install
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-04 10:50:08 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-04 10:50:08 +0100
commitb0b6a530d3c7980ceb495337c2eab1fe117b2bab (patch)
treee5289123762e1282fceaf7f9607f3643886d2308 /fredjo-gnome-2.28-test/nautilus/post-install
parent0e56dabce1cfb1efefc9c1bb4912781fbbd47322 (diff)
downloadnutyx-pakxe-b0b6a530d3c7980ceb495337c2eab1fe117b2bab.tar.gz
nutyx-pakxe-b0b6a530d3c7980ceb495337c2eab1fe117b2bab.tar.bz2
nutyx-pakxe-b0b6a530d3c7980ceb495337c2eab1fe117b2bab.tar.xz
nutyx-pakxe-b0b6a530d3c7980ceb495337c2eab1fe117b2bab.zip
Ajout du paquet nautilus#2.28.0
Diffstat (limited to 'fredjo-gnome-2.28-test/nautilus/post-install')
-rwxr-xr-xfredjo-gnome-2.28-test/nautilus/post-install26
1 files changed, 26 insertions, 0 deletions
diff --git a/fredjo-gnome-2.28-test/nautilus/post-install b/fredjo-gnome-2.28-test/nautilus/post-install
new file mode 100755
index 000000000..0e68fd548
--- /dev/null
+++ b/fredjo-gnome-2.28-test/nautilus/post-install
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+port=nautilus
+
+# 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
+
+# mime database
+update-mime-database /usr/share/mime > /dev/null
+
+# desktop database
+update-desktop-database > /dev/null
+
+# End of file