aboutsummaryrefslogtreecommitdiffstats
path: root/joes-arch-install-UEFI.sh
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-11-26 00:41:03 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-11-26 00:41:03 +0100
commit1e167646a1182fc8359b0c2d8899a61109b774df (patch)
tree08978eb7c02fb9e524aa7d6efd751669df107166 /joes-arch-install-UEFI.sh
parentMore accurate sentenses (diff)
downloadarch-installer-1e167646a1182fc8359b0c2d8899a61109b774df.tar.gz
arch-installer-1e167646a1182fc8359b0c2d8899a61109b774df.tar.bz2
arch-installer-1e167646a1182fc8359b0c2d8899a61109b774df.tar.xz
arch-installer-1e167646a1182fc8359b0c2d8899a61109b774df.tar.zst
arch-installer-1e167646a1182fc8359b0c2d8899a61109b774df.zip
Optimization
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
#================================================================#