From: Eugene Gagarin Date: Sat, 28 Feb 2009 18:09:30 +0000 (+0300) Subject: updating icon cache only on first install X-Git-Tag: releases/0.1.0~3 X-Git-Url: https://vcs.maemo.org/git/?p=findit;a=commitdiff_plain;h=a749e011e76e489b293e7a932cd4ffb9e462533a updating icon cache only on first install --- 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