X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=debian%2Fpostinst;h=29e1a27a20fe2008da16e01980fa3edfd2b1725a;hb=a749e011e76e489b293e7a932cd4ffb9e462533a;hp=887ea0657361d5c5ff6ed0af89244968a80134c3;hpb=f7d54fa3d8f0d27153c1d99b649dec354c42dcbc;p=findit diff --git a/debian/postinst b/debian/postinst index 887ea06..29e1a27 100755 --- a/debian/postinst +++ b/debian/postinst @@ -6,6 +6,9 @@ ## ---------------------------------------------------------------------- set -e -gtk-update-icon-cache -f /usr/share/icons/hicolor +oldversion="$2" +if [ -z "$oldversion" ]; then + gtk-update-icon-cache -f /usr/share/icons/hicolor +fi exit 0