Update microcode.sh (#1679)

Verify iucode-tool is installed
This commit is contained in:
iveilleux 2023-08-11 08:22:01 -04:00 committed by GitHub
parent d226b7a2f3
commit f38378b79e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ done
header_info header_info
intel() { intel() {
if ! apt -qq list iucode-tool >/dev/null 2>&1; then if ! apt -qq list --installed iucode-tool >/dev/null 2>&1; then
msg_info "Installing iucode-tool: a tool for updating Intel processor microcode" msg_info "Installing iucode-tool: a tool for updating Intel processor microcode"
apt-get install -y iucode-tool &>/dev/null apt-get install -y iucode-tool &>/dev/null
msg_ok "Installed iucode-tool" msg_ok "Installed iucode-tool"