提交 a2aefcd1 编写于 作者: M myeuler

add dnf install -y to force install

上级 87f4e9f1
......@@ -33,7 +33,7 @@ import queue
def mod_installed(mod):
# try to use dnf to install mod directly
ret = subprocess.call(["dnf", "install", mod])
ret = subprocess.call(["dnf", "install", "-y", mod])
if (ret == 0):
return True
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册