fix: actually use glob pattern so the loop works

This commit is contained in:
Oskar Manhart 2024-05-30 12:10:18 +00:00 committed by GitHub
parent 7abfef3477
commit 0ea4b865dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"