Add postinst script to restart hildon-home in order to reload the resident plugin.
authorArtem Garmash <artemgarmash@gmail.com>
Sun, 17 Jan 2010 00:31:59 +0000 (02:31 +0200)
committerArtem Garmash <artem.garmash@nokia.com>
Sun, 27 Jun 2010 19:13:43 +0000 (22:13 +0300)
debian/conversations-inbox-widget.postinst [new file with mode: 0644]

diff --git a/debian/conversations-inbox-widget.postinst b/debian/conversations-inbox-widget.postinst
new file mode 100644 (file)
index 0000000..3201e89
--- /dev/null
@@ -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