From 0ea4b865ddbc0cbd227bc141e256e155246c48d2 Mon Sep 17 00:00:00 2001 From: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com> Date: Thu, 30 May 2024 12:10:18 +0000 Subject: [PATCH] fix: actually use glob pattern so the loop works --- installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.sh b/installer.sh index cdaa74c..3cfe27f 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"