Add postinst script to restart hildon-home in order to reload the resident plugin.
[conv-inbox] / debian / conversations-inbox-widget.postinst
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