From b165ebd69c455e6d0935b225f0567f3afc55e100 Mon Sep 17 00:00:00 2001 From: fredjo Date: Fri, 6 Nov 2009 12:47:11 +0100 Subject: Ajout de notification-daemon#0.4.0-1 --- gnome/notification-daemon/post-install | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 gnome/notification-daemon/post-install (limited to 'gnome/notification-daemon/post-install') diff --git a/gnome/notification-daemon/post-install b/gnome/notification-daemon/post-install new file mode 100755 index 000000000..54ba483dd --- /dev/null +++ b/gnome/notification-daemon/post-install @@ -0,0 +1,23 @@ +#!/bin/sh + +port=notification-daemon + +# 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 -- cgit v1.2.3-70-g09d2