commit ab9fc2f9a905b8dfd381bfd5e9d2e276f3771309
parent b7a3ddd7830f891d0eff4faa5ae9968142f20b34
Author: Morel BĂ©renger <berengermorel76@gmail.com>
Date: Sun, 20 Sep 2020 13:37:24 +0200
fixed false positive warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/install.sh b/install.sh
@@ -99,7 +99,7 @@ TARGET="${1:?"TARGET must be provided as 1st arg"}"
SOURCE="${2:?"SOURCE must be provided as 2nd arg"}"
MIRROR="${3}"
-test -z "$MIRROR" ||
+test -z "$MIRROR" &&
warn "No mirror is set, you are going to waste everyone's resources (including your time)"
test -d "$TARGET" -n "$(find "$TARGET" -maxdepth 0 -empty)" &&