diff options
author | fredjo <frederic.joly@9online.fr> | 2009-11-04 14:51:04 +0100 |
---|---|---|
committer | fredjo <frederic.joly@9online.fr> | 2009-11-04 14:51:04 +0100 |
commit | 7e02d85272843ed60b126fb7752345681501d609 (patch) | |
tree | b74a43c79e63afa43213d4427e9a02a10e1b938d /gnome/gnome-screensaver/post-install | |
parent | 78c8adf249f6bcad4f17796d4d7146ade0200ded (diff) | |
download | nutyx-pakxe-7e02d85272843ed60b126fb7752345681501d609.tar.gz nutyx-pakxe-7e02d85272843ed60b126fb7752345681501d609.tar.bz2 nutyx-pakxe-7e02d85272843ed60b126fb7752345681501d609.tar.xz nutyx-pakxe-7e02d85272843ed60b126fb7752345681501d609.zip |
Deplacement de gnome-screensaver vers le repertoire gnome
Diffstat (limited to 'gnome/gnome-screensaver/post-install')
-rwxr-xr-x | gnome/gnome-screensaver/post-install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnome/gnome-screensaver/post-install b/gnome/gnome-screensaver/post-install new file mode 100755 index 000000000..105470ae1 --- /dev/null +++ b/gnome/gnome-screensaver/post-install @@ -0,0 +1,23 @@ +#!/bin/sh + +port=gnome-screensaver + +# 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 |