Remove hildon-home restart during installation. Show notice to restart device
[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..031d909
--- /dev/null
@@ -0,0 +1,23 @@
+#! /bin/sh
+
+case "$1" in
+    configure)
+
+      run-standalone.sh dbus-send \
+          --dest=org.freedesktop.Notifications \
+          /org/freedesktop/Notifications \
+          org.freedesktop.Notifications.SystemNoteInfoprint \
+          string:"Restart device to complete installation"
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+exit 0