Skip to content

Commit c731158

Browse files
author
Nick Amato
committed
Fixed bashism test
1 parent a46e467 commit c731158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/tabs/applications-setup/virtualization/create-virtual-machine.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
virt-manager() {
66
setVMDetails
77

8-
if [[ "${distroInfo,,}" == *"ARCH"* ]] || [[ "$distroInfo" == *"ARCH"* ]]; then
8+
if [[ "${distroInfo,[,][pat]}" == *"ARCH"* ]]; then
99
distro="archlinux"
1010
elif [[ "${distroInfo,,}" == *"Debian"* ]] || [[ "$distroInfo" == *"Debian"* ]]; then
1111
distro="debian""$(isoinfo -d -i $isoFile | awk 'NR==3{print $4}' | cut -f1 -d".")"

0 commit comments

Comments
 (0)