From 1215d25186833c29401169d609b64b2f731ae2c7 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Thu, 30 May 2024 12:43:10 +0200 Subject: [PATCH] fix: typo flag test in `install.sh` and `deploy.sh` --- deploy.sh | 2 +- install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 12ac9bb..e28b997 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,7 +1,7 @@ APPS=$@ if [[ $# -eq 1 ]]; then - if [[ $1 == "--all" $1 == "-a" ]]; then + if [[ $1 == "--all" || $1 == "-a" ]]; then APPS=$(ls -d */) fi fi diff --git a/install.sh b/install.sh index fb98b3d..9c21c5c 100644 --- a/install.sh +++ b/install.sh @@ -6,7 +6,7 @@ source ./_requirements.sh APPS=$@ if [[ $# -eq 1 ]]; then - if [[ $1 == "--all" $1 == "-a" ]]; then + if [[ $1 == "--all" || $1 == "-a" ]]; then APPS=$(ls -d */) fi fi