소스 검색

Update microcode.sh (#1679)

Verify iucode-tool is installed
iveilleux 2 년 전
부모
커밋
f38378b79e
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 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"
     apt-get install -y iucode-tool &>/dev/null
     msg_ok "Installed iucode-tool"