Added scripts to the Debian package.
[speedometer] / debian / postinst
diff --git a/debian/postinst b/debian/postinst
new file mode 100755 (executable)
index 0000000..e97479e
--- /dev/null
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+gtk-update-icon-cache -f /usr/share/icons/hicolor
+
+oldversion="$2"
+if [ -z "$oldversion" ]; then
+       if [ -e /usr/bin/maemo-select-menu-location ]; then
+                maemo-select-menu-location speedometer.desktop
+        fi
+fi