core: 修复 arch 下运行 pacman 出错
This commit is contained in:
parent
80e643ae8d
commit
ece55ab8bc
@ -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 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user