summaryrefslogtreecommitdiffstats
path: root/gnome/notification-daemon/post-install
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-06 12:47:11 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-06 12:47:11 +0100
commitb165ebd69c455e6d0935b225f0567f3afc55e100 (patch)
treee75264c753b1efbb0835d1b0d05064ab913737c7 /gnome/notification-daemon/post-install
parent49ecf62de581677378c67589076a16339a495e7f (diff)
downloadnutyx-extra-b165ebd69c455e6d0935b225f0567f3afc55e100.tar.gz
nutyx-extra-b165ebd69c455e6d0935b225f0567f3afc55e100.tar.bz2
nutyx-extra-b165ebd69c455e6d0935b225f0567f3afc55e100.tar.xz
nutyx-extra-b165ebd69c455e6d0935b225f0567f3afc55e100.zip
Ajout de notification-daemon#0.4.0-1
Diffstat (limited to 'gnome/notification-daemon/post-install')
-rwxr-xr-xgnome/notification-daemon/post-install23
1 files changed, 23 insertions, 0 deletions
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