summaryrefslogtreecommitdiffstats
path: root/fredjo-gnome-2.28-test/gnome-volume-manager/post-install
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-04 10:28:39 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-04 10:28:39 +0100
commit744ec3361c86d9456b20d5a683dfee0f4266604b (patch)
treef166bb0734b6a049f5de37e4e5a7acf43f013cf5 /fredjo-gnome-2.28-test/gnome-volume-manager/post-install
parent88f18f3d5581164189942aa3e9ac4157c0ab75d9 (diff)
downloadnutyx-pakxe-744ec3361c86d9456b20d5a683dfee0f4266604b.tar.gz
nutyx-pakxe-744ec3361c86d9456b20d5a683dfee0f4266604b.tar.bz2
nutyx-pakxe-744ec3361c86d9456b20d5a683dfee0f4266604b.tar.xz
nutyx-pakxe-744ec3361c86d9456b20d5a683dfee0f4266604b.zip
Ajout du paquet gnome-volume-manager#2.24.1
Diffstat (limited to 'fredjo-gnome-2.28-test/gnome-volume-manager/post-install')
-rwxr-xr-xfredjo-gnome-2.28-test/gnome-volume-manager/post-install23
1 files changed, 23 insertions, 0 deletions
diff --git a/fredjo-gnome-2.28-test/gnome-volume-manager/post-install b/fredjo-gnome-2.28-test/gnome-volume-manager/post-install
new file mode 100755
index 000000000..515c2f1aa
--- /dev/null
+++ b/fredjo-gnome-2.28-test/gnome-volume-manager/post-install
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+port=gnome-volume-manager
+
+# 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