Update microcode.sh

fix for AMD
This commit is contained in:
tteckster 2023-05-08 13:28:06 -04:00 committed by GitHub
parent 8047265b2b
commit 22a2061702
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,11 +51,8 @@ msg_error() {
} }
intel() { intel() {
msg_info "Installing iucode-tool: a tool for updating Intel processor microcode"
apt-get install -y iucode-tool &>/dev/null
msg_ok "Installed iucode-tool"
msg_info "Downloading the latest Intel Processor Microcode Package for Linux" msg_info "Downloading the latest Intel Processor Microcode Package for Linux"
apt-get install -y iucode-tool &>/dev/null
wget -q http://ftp.debian.org/debian/pool/non-free-firmware/i/intel-microcode/intel-microcode_3.20230214.1_amd64.deb wget -q http://ftp.debian.org/debian/pool/non-free-firmware/i/intel-microcode/intel-microcode_3.20230214.1_amd64.deb
msg_ok "Downloaded the latest Intel Processor Microcode Package" msg_ok "Downloaded the latest Intel Processor Microcode Package"
@ -71,10 +68,6 @@ intel() {
} }
amd() { amd() {
msg_info "Installing amd-ucode: a tool for updating AMD processor microcode"
apt-get install -y amd64-microcode &>/dev/null
msg_ok "Installed amd-ucode"
msg_info "Downloading the latest AMD Processor Microcode Package for Linux" msg_info "Downloading the latest AMD Processor Microcode Package for Linux"
wget -q http://ftp.debian.org/debian/pool/non-free-firmware/a/amd64-microcode/amd64-microcode_3.20230414.1_amd64.deb wget -q http://ftp.debian.org/debian/pool/non-free-firmware/a/amd64-microcode/amd64-microcode_3.20230414.1_amd64.deb
msg_ok "Downloaded the latest AMD Processor Microcode Package" msg_ok "Downloaded the latest AMD Processor Microcode Package"