From a749e011e76e489b293e7a932cd4ffb9e462533a Mon Sep 17 00:00:00 2001 From: Eugene Gagarin Date: Sat, 28 Feb 2009 21:09:30 +0300 Subject: [PATCH] updating icon cache only on first install --- debian/postinst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 1.7.9.5