From c6b921fec3bd7b4c16cf541b09b70fa3fe96a44e Mon Sep 17 00:00:00 2001 From: Artem Garmash Date: Sun, 14 Feb 2010 01:39:42 +0200 Subject: [PATCH] Kill hildon-home before installing a new version, avoiding widget reloading during installation --- debian/conversations-inbox-widget.postinst | 20 -------------------- debian/conversations-inbox-widget.preinst | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 20 deletions(-) delete mode 100644 debian/conversations-inbox-widget.postinst create mode 100644 debian/conversations-inbox-widget.preinst 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 -- 1.7.9.5