aboutsummaryrefslogtreecommitdiff
path: root/desktop/notification-daemon/doinst.sh
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2010-09-22 17:47:37 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-09-22 17:47:37 -0500
commit966d20d5bb36f212c7bdd444d9150a4022ec540e (patch)
tree391518ac80d81a8e7ff62859ef91882e01f7aadc /desktop/notification-daemon/doinst.sh
parentb6bd90cdf3054786462e13b72bc1c7d0dedcbac7 (diff)
desktop/notification-daemon: Added (the name says it all)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/notification-daemon/doinst.sh')
-rw-r--r--desktop/notification-daemon/doinst.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/desktop/notification-daemon/doinst.sh b/desktop/notification-daemon/doinst.sh
new file mode 100644
index 0000000000000..a3cb34f997a65
--- /dev/null
+++ b/desktop/notification-daemon/doinst.sh
@@ -0,0 +1,18 @@
+schema_install() {
+ SCHEMA="$1"
+ GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
+ chroot . gconftool-2 --makefile-install-rule \
+ /etc/gconf/schemas/$SCHEMA \
+ 1>/dev/null
+}
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+schema_install notificaton-daemon.schemas
+
+chroot . /etc/rc.d/rc.messagebus reload
+