summaryrefslogtreecommitdiffstats
path: root/gnome/gnome-screensaver/post-install
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-04 14:51:04 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-04 14:51:04 +0100
commit7e02d85272843ed60b126fb7752345681501d609 (patch)
treeb74a43c79e63afa43213d4427e9a02a10e1b938d /gnome/gnome-screensaver/post-install
parent78c8adf249f6bcad4f17796d4d7146ade0200ded (diff)
downloadnutyx-extra-7e02d85272843ed60b126fb7752345681501d609.tar.gz
nutyx-extra-7e02d85272843ed60b126fb7752345681501d609.tar.bz2
nutyx-extra-7e02d85272843ed60b126fb7752345681501d609.tar.xz
nutyx-extra-7e02d85272843ed60b126fb7752345681501d609.zip
Deplacement de gnome-screensaver vers le repertoire gnome
Diffstat (limited to 'gnome/gnome-screensaver/post-install')
-rwxr-xr-xgnome/gnome-screensaver/post-install23
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