浏览代码

Update microcode.sh

Code refactoring
tteckster 1 年之前
父节点
当前提交
d9147b073b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      misc/microcode.sh

+ 1 - 1
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"