summaryrefslogtreecommitdiffstats
path: root/gnome/policykit-gnome/post-install
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-04 15:15:38 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-04 15:15:38 +0100
commit35c94d03f17f778af2e5b5b3e7d800b0750efb3e (patch)
treed3a7643af095d6ee798a14a90dc4084168f959fa /gnome/policykit-gnome/post-install
parent18dff305994a16f9dc371b66cec6271af1838657 (diff)
downloadnutyx-pakxe-35c94d03f17f778af2e5b5b3e7d800b0750efb3e.tar.gz
nutyx-pakxe-35c94d03f17f778af2e5b5b3e7d800b0750efb3e.tar.bz2
nutyx-pakxe-35c94d03f17f778af2e5b5b3e7d800b0750efb3e.tar.xz
nutyx-pakxe-35c94d03f17f778af2e5b5b3e7d800b0750efb3e.zip
Deplacement de policykit-gnome vers le repertoire gnome
Diffstat (limited to 'gnome/policykit-gnome/post-install')
-rwxr-xr-xgnome/policykit-gnome/post-install23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnome/policykit-gnome/post-install b/gnome/policykit-gnome/post-install
new file mode 100755
index 000000000..6c624965f
--- /dev/null
+++ b/gnome/policykit-gnome/post-install
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+port=policykit-gnome
+
+# 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