debian/postinst: small code improvement
authorWall <wall@gmail.com>
Sat, 28 Feb 2009 18:57:52 +0000 (18:57 +0000)
committerWall <wall@gmail.com>
Sat, 28 Feb 2009 18:57:52 +0000 (18:57 +0000)
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