X-Git-Url: http://git.maemo.org/git/?p=speedometer;a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=137631a60d818819442ee4ba03737e6baa3aeb70;hp=91f3d32191e657a953710c51f33dc066bf733d6b;hb=1467840204d224cb0707bdbda748379ddd14a2ab;hpb=99cddcec9d60f54e7be4401c92024ea4fbde32ba diff --git a/debian/postinst b/debian/postinst index 91f3d32..137631a 100755 --- a/debian/postinst +++ b/debian/postinst @@ -1,9 +1,9 @@ #! /bin/sh -# do this in the background -gtk-update-icon-cache -f /usr/share/icons/hicolor & +oldversion="$2" +if [ -z "$oldversion" ] + gtk-update-icon-cache -f /usr/share/icons/hicolor & + maemo-select-menu-location speedometer.desktop +fi -# promts the user if this is a fresh install -maemo-select-menu-location speedometer.desktop - -exit 0 +exit 0