Преглед изворни кода

Update microcode.sh (#1679)

Verify iucode-tool is installed
iveilleux пре 1 година
родитељ
комит
f38378b79e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      misc/microcode.sh

+ 1 - 1
misc/microcode.sh

@@ -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"