From: Artem Garmash Date: Sat, 13 Feb 2010 23:39:42 +0000 (+0200) Subject: Kill hildon-home before installing a new version, avoiding widget reloading during... X-Git-Url: http://git.maemo.org/git/?p=conv-inbox;a=commitdiff_plain;h=c6b921fec3bd7b4c16cf541b09b70fa3fe96a44e Kill hildon-home before installing a new version, avoiding widget reloading during installation --- diff --git a/debian/conversations-inbox-widget.postinst b/debian/conversations-inbox-widget.postinst deleted file mode 100644 index 3201e89..0000000 --- a/debian/conversations-inbox-widget.postinst +++ /dev/null @@ -1,20 +0,0 @@ -#! /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 diff --git a/debian/conversations-inbox-widget.preinst b/debian/conversations-inbox-widget.preinst new file mode 100644 index 0000000..857c20b --- /dev/null +++ b/debian/conversations-inbox-widget.preinst @@ -0,0 +1,15 @@ +#! /bin/sh + +case "$1" in + install|upgrade) + + echo "Restarting hildon-home." + killall hildon-home + ;; + + abort-upgrade) + + ;; +esac + +exit 0