Update microcode.sh

Code refactoring
This commit is contained in:
tteckster 2023-08-11 11:46:54 -04:00 committed by GitHub
parent f38378b79e
commit d9147b073b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ done
header_info
intel() {
if ! apt -qq list --installed iucode-tool >/dev/null 2>&1; then
if ! dpkg -s iucode-tool >/dev/null 2>&1; then
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"