From d9147b073bd118ae403e9b1187fcefbd4d33328e Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 11 Aug 2023 11:46:54 -0400 Subject: [PATCH] Update microcode.sh Code refactoring --- misc/microcode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/microcode.sh b/misc/microcode.sh index 7eceee7d..e0434ea1 100644 --- a/misc/microcode.sh +++ b/misc/microcode.sh @@ -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"