summaryrefslogtreecommitdiffstats
path: root/fredjo-gnome-2.28-test/gnome-mount/post-install
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-04 10:18:47 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-04 10:18:47 +0100
commit2c5db3a15d942a3a9aa5fc0968b6874c107560fb (patch)
tree03c247bd702904d75f42c5cc540a95afdd9034c2 /fredjo-gnome-2.28-test/gnome-mount/post-install
parent13ca6387493b32643437565af9b43e0a31a706b5 (diff)
downloadnutyx-extra-2c5db3a15d942a3a9aa5fc0968b6874c107560fb.tar.gz
nutyx-extra-2c5db3a15d942a3a9aa5fc0968b6874c107560fb.tar.bz2
nutyx-extra-2c5db3a15d942a3a9aa5fc0968b6874c107560fb.tar.xz
nutyx-extra-2c5db3a15d942a3a9aa5fc0968b6874c107560fb.zip
Ajout du paquet gnome-mount#0.8
Diffstat (limited to 'fredjo-gnome-2.28-test/gnome-mount/post-install')
-rwxr-xr-xfredjo-gnome-2.28-test/gnome-mount/post-install20
1 files changed, 20 insertions, 0 deletions
diff --git a/fredjo-gnome-2.28-test/gnome-mount/post-install b/fredjo-gnome-2.28-test/gnome-mount/post-install
new file mode 100755
index 000000000..af46db1c3
--- /dev/null
+++ b/fredjo-gnome-2.28-test/gnome-mount/post-install
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+port=gnome-mount
+
+# 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
+
+# End of file