summaryrefslogtreecommitdiffstats
path: root/gnome/nautilus-cd-burner/post-install
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-04 15:12:22 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-04 15:12:22 +0100
commita5640e2237734b87001390bd6863285170632b99 (patch)
tree40abc23c63a903b6f921815b9792bfc64f8fc48c /gnome/nautilus-cd-burner/post-install
parent3aee97f19be6a567c38bf1317a16d54b921af2a6 (diff)
downloadnutyx-extra-a5640e2237734b87001390bd6863285170632b99.tar.gz
nutyx-extra-a5640e2237734b87001390bd6863285170632b99.tar.bz2
nutyx-extra-a5640e2237734b87001390bd6863285170632b99.tar.xz
nutyx-extra-a5640e2237734b87001390bd6863285170632b99.zip
Deplacement de nautilus-cd-burner vers le repertoire gnome
Diffstat (limited to 'gnome/nautilus-cd-burner/post-install')
-rwxr-xr-xgnome/nautilus-cd-burner/post-install23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnome/nautilus-cd-burner/post-install b/gnome/nautilus-cd-burner/post-install
new file mode 100755
index 000000000..2fe330b7a
--- /dev/null
+++ b/gnome/nautilus-cd-burner/post-install
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+port=nautilus-cd-burner
+
+# 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