diff options
author | fredjo <frederic.joly@9online.fr> | 2009-11-04 15:15:38 +0100 |
---|---|---|
committer | fredjo <frederic.joly@9online.fr> | 2009-11-04 15:15:38 +0100 |
commit | 35c94d03f17f778af2e5b5b3e7d800b0750efb3e (patch) | |
tree | d3a7643af095d6ee798a14a90dc4084168f959fa /gnome/policykit-gnome/post-install | |
parent | 18dff305994a16f9dc371b66cec6271af1838657 (diff) | |
download | nutyx-extra-35c94d03f17f778af2e5b5b3e7d800b0750efb3e.tar.gz nutyx-extra-35c94d03f17f778af2e5b5b3e7d800b0750efb3e.tar.bz2 nutyx-extra-35c94d03f17f778af2e5b5b3e7d800b0750efb3e.tar.xz nutyx-extra-35c94d03f17f778af2e5b5b3e7d800b0750efb3e.zip |
Deplacement de policykit-gnome vers le repertoire gnome
Diffstat (limited to 'gnome/policykit-gnome/post-install')
-rwxr-xr-x | gnome/policykit-gnome/post-install | 23 |
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 |