summaryrefslogtreecommitdiffstats
path: root/fredjo-gnome-2.28-test/gnome-screensaver/post-install
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-04 10:22:09 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-04 10:22:09 +0100
commit21010dfa819da8fb6db9c7ccc6b26701c7ab04db (patch)
treeec84a68929c8c53a54aaee0b8dbc8b848c572c59 /fredjo-gnome-2.28-test/gnome-screensaver/post-install
parent23c0058ff4cd22298c0b449c483d7a8d619cae2c (diff)
downloadnutyx-extra-21010dfa819da8fb6db9c7ccc6b26701c7ab04db.tar.gz
nutyx-extra-21010dfa819da8fb6db9c7ccc6b26701c7ab04db.tar.bz2
nutyx-extra-21010dfa819da8fb6db9c7ccc6b26701c7ab04db.tar.xz
nutyx-extra-21010dfa819da8fb6db9c7ccc6b26701c7ab04db.zip
Ajout du paquet gnome-screensaver#2.26.1
Diffstat (limited to 'fredjo-gnome-2.28-test/gnome-screensaver/post-install')
-rwxr-xr-xfredjo-gnome-2.28-test/gnome-screensaver/post-install23
1 files changed, 23 insertions, 0 deletions
diff --git a/fredjo-gnome-2.28-test/gnome-screensaver/post-install b/fredjo-gnome-2.28-test/gnome-screensaver/post-install
new file mode 100755
index 000000000..105470ae1
--- /dev/null
+++ b/fredjo-gnome-2.28-test/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