Kill hildon-home before installing a new version, avoiding widget reloading during...
authorArtem Garmash <artemgarmash@gmail.com>
Sat, 13 Feb 2010 23:39:42 +0000 (01:39 +0200)
committerArtem Garmash <artem.garmash@nokia.com>
Sun, 27 Jun 2010 19:13:47 +0000 (22:13 +0300)
debian/conversations-inbox-widget.postinst [deleted file]
debian/conversations-inbox-widget.preinst [new file with mode: 0644]

diff --git a/debian/conversations-inbox-widget.postinst b/debian/conversations-inbox-widget.postinst
deleted file mode 100644 (file)
index 3201e89..0000000
+++ /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 (file)
index 0000000..857c20b
--- /dev/null
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+case "$1" in
+    install|upgrade)
+
+      echo "Restarting hildon-home."
+      killall hildon-home
+    ;;
+
+    abort-upgrade)
+
+    ;;
+esac
+
+exit 0