Created new 0.1 release.
[speedometer] / debian / postinst
index e97479e..ed401d3 100755 (executable)
@@ -1,10 +1,9 @@
 #! /bin/sh
 
-gtk-update-icon-cache -f /usr/share/icons/hicolor
+# do this on the background
+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
+# promts the user if this is a fresh install
+maemo-select-menu-location speedometer.desktop
+
+exit 0