mirror of
https://github.com/bin456789/reinstall.git
synced 2025-08-18 15:21:49 +00:00
core: 修复 arch 下运行 pacman 出错
This commit is contained in:
@@ -516,7 +516,7 @@ install_pkg() {
|
||||
nslookup | dig)
|
||||
(command -v apk && pkg="bind-tools") ||
|
||||
(command -v apt && pkg="bind9-dnsutils") ||
|
||||
(command -v pacmcn && pkg="bind") ||
|
||||
(command -v pacman && pkg="bind") ||
|
||||
(command -v yum dnf zypper && pkg="bind-utils")
|
||||
;;
|
||||
*) pkg=$cmd ;;
|
||||
|
Reference in New Issue
Block a user