X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=debian%2Fpostinst;h=57fc45c3b923b96d4de043461b9043638820f056;hb=refs%2Fheads%2FWall%2Fmaster;hp=887ea0657361d5c5ff6ed0af89244968a80134c3;hpb=d8b811fb92540218f040f9fe0d39c9bfc2e668fc;p=findit diff --git a/debian/postinst b/debian/postinst index 887ea06..57fc45c 100755 --- a/debian/postinst +++ b/debian/postinst @@ -6,6 +6,7 @@ ## ---------------------------------------------------------------------- set -e -gtk-update-icon-cache -f /usr/share/icons/hicolor +oldversion="$2" +[ -z "$oldversion" ] && gtk-update-icon-cache -f /usr/share/icons/hicolor exit 0