Explorar el Código

Update microcode.sh

Code refactoring
tteckster hace 1 año
padre
commit
d9147b073b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 --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"
     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"