From ee7e3c03dd4c422585e4dcffcd16ba85fc48c88c Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Fri, 9 Nov 2018 00:04:17 +0000 Subject: [PATCH] Make shellcheck stop crying Signed-off-by: Eli Uriegas --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 553a48e..ce0cc4e 100644 --- a/install.sh +++ b/install.sh @@ -423,7 +423,7 @@ do_install() { $sh_c 'apt-get update -qq >/dev/null' ) pkg_version="" - if [ ! -z "$VERSION" ]; then + if [ -n "$VERSION" ]; then if is_dry_run; then echo "# WARNING: VERSION pinning is not supported in DRY_RUN" else @@ -491,7 +491,7 @@ do_install() { $sh_c "$pkg_manager makecache" ) pkg_version="" - if [ ! -z "$VERSION" ]; then + if [ -n "$VERSION" ]; then if is_dry_run; then echo "# WARNING: VERSION pinning is not supported in DRY_RUN" else