debian/postinst: small code improvement
[findit] / debian / postinst
index 29e1a27..57fc45c 100755 (executable)
@@ -7,8 +7,6 @@
 set -e
 
 oldversion="$2"
-if [ -z "$oldversion" ]; then
-  gtk-update-icon-cache -f /usr/share/icons/hicolor
-fi
+[ -z "$oldversion" ] && gtk-update-icon-cache -f /usr/share/icons/hicolor
 
 exit 0