updating icon cache only on first install
[findit] / debian / postinst
index 887ea06..29e1a27 100755 (executable)
@@ -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