mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-08-28 12:56:26 -04:00
Install bc in live environment, as it is no longer included in official ISOs
This commit is contained in:
@@ -34,6 +34,7 @@ read -r -p "timezone: " timezone
|
||||
# stop questions
|
||||
|
||||
# start hardware detection
|
||||
pacman -Sy bc --noconfirm
|
||||
cpu=$(lscpu | grep 'Vendor ID:' | awk 'FNR == 1 {print $3;}')
|
||||
threadsminusone=$(echo "$(lscpu | grep 'CPU(s):' | awk 'FNR == 1 {print $2;}') - 1" | bc)
|
||||
gpu=$(lspci | grep 'VGA compatible controller:' | awk 'FNR == 1 {print $5;}')
|
||||
|
||||
Reference in New Issue
Block a user