From: Artem Garmash Date: Sun, 17 Jan 2010 00:31:59 +0000 (+0200) Subject: Add postinst script to restart hildon-home in order to reload the resident plugin. X-Git-Url: http://git.maemo.org/git/?p=conv-inbox;a=commitdiff_plain;h=1c67a36962b9e7627e361d9d7ccd45113077b83b Add postinst script to restart hildon-home in order to reload the resident plugin. --- 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