fix(syntax): missing && (closes #55)

This commit is contained in:
oddlama 2022-10-01 13:33:55 +02:00
parent 7b9586ad30
commit d46010ba7b
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ function check_wanted_programs() {
program="${tuple%%=*}" program="${tuple%%=*}"
checkfile="" checkfile=""
[[ "$tuple" == *=* ]] \ [[ "$tuple" == *=* ]] \
checkfile="${tuple##*=}" && checkfile="${tuple##*=}"
if ! has_program "${program#"?"}" "$checkfile"; then if ! has_program "${program#"?"}" "$checkfile"; then
if [[ "$program" == "?"* ]]; then if [[ "$program" == "?"* ]]; then
missing_wanted+=("${program#"?"}") missing_wanted+=("${program#"?"}")