aboutsummaryrefslogtreecommitdiffstats
path: root/joes-arch-install-UEFI.sh
diff options
context:
space:
mode:
Diffstat (limited to 'joes-arch-install-UEFI.sh')
-rwxr-xr-xjoes-arch-install-UEFI.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh
index 29d2110..fcadb23 100755
--- a/joes-arch-install-UEFI.sh
+++ b/joes-arch-install-UEFI.sh
@@ -679,14 +679,12 @@ if [[ $somemore == "true" ]]; then
fi
if ! lscpu | grep -q Intel; then
intelamdcpu="intel"
-fi
-if ! lscpu | grep -q AMD; then
+elif ! lscpu | grep -q AMD; then
intelamdcpu="amd"
fi
if ! lspci | grep -q Intel; then
intelamdgpu="intel"
-fi
-if ! lspci | grep -q AMD; then
+elif ! lspci | grep -q AMD; then
intelamdgpu="amd"
fi
#================================================================#