From 1c67a36962b9e7627e361d9d7ccd45113077b83b Mon Sep 17 00:00:00 2001 From: Artem Garmash Date: Sun, 17 Jan 2010 02:31:59 +0200 Subject: [PATCH] Add postinst script to restart hildon-home in order to reload the resident plugin. --- debian/conversations-inbox-widget.postinst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 debian/conversations-inbox-widget.postinst diff --git a/debian/conversations-inbox-widget.postinst b/debian/conversations-inbox-widget.postinst new file mode 100644 index 0000000..3201e89 --- /dev/null +++ b/debian/conversations-inbox-widget.postinst @@ -0,0 +1,20 @@ +#! /bin/sh + +case "$1" in + configure) + + echo "Restarting hildon-home." + killall hildon-home + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +exit 0 -- 1.7.9.5