From 2e7dea1cce27f0ed5ee23dd7a6a83abd979db27b Mon Sep 17 00:00:00 2001 From: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com> Date: Thu, 30 May 2024 12:14:13 +0000 Subject: [PATCH] fix: fix shellcheck error --- installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.sh b/installer.sh index 3cfe27f..3784a6c 100755 --- a/installer.sh +++ b/installer.sh @@ -42,7 +42,7 @@ function waFindInstalled() { rm -f "$HOME/.local/share/winapps/installed" rm -f "$HOME/.local/share/winapps/detected" cp "$DIR/install/ExtractPrograms.ps1" "$HOME/.local/share/winapps/ExtractPrograms.ps1" - for F in $DIR/apps/*; do + for F in "$DIR"/apps/*; do [[ -e "$F" ]] || break # shellcheck disable=SC1090,SC1091 . "$F/info"