Added a postinst maintainer script to show a note about rebooting
authorMohammed Sameer <msameer@foolab.org>
Thu, 12 Sep 2013 20:31:14 +0000 (23:31 +0300)
committerMohammed Sameer <msameer@foolab.org>
Thu, 12 Sep 2013 20:31:14 +0000 (23:31 +0300)
debian/cameraplus.postinst [new file with mode: 0755]

diff --git a/debian/cameraplus.postinst b/debian/cameraplus.postinst
new file mode 100755 (executable)
index 0000000..efcdf58
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+case "$1" in
+    configure)
+        /usr/bin/dbus-send --print-reply --dest=com.meego.core.MNotificationManager \
+        /notificationmanager com.meego.core.MNotificationManager.addNotification \
+        uint32:0 uint32:0 string:'device' \
+        string:'' string:'Camera+ installed. Please restart your phone!' string:'' \
+        string:'icon-m-toolbar-done' uint32:0
+        ;;
+esac
+
+#DEBHELPER#
+
+exit 0