core: 修复 arch 下运行 pacman 出错

This commit is contained in:
bin456789 2023-08-02 00:13:27 +08:00
parent 80e643ae8d
commit ece55ab8bc
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -516,7 +516,7 @@ install_pkg() {
nslookup | dig) nslookup | dig)
(command -v apk && pkg="bind-tools") || (command -v apk && pkg="bind-tools") ||
(command -v apt && pkg="bind9-dnsutils") || (command -v apt && pkg="bind9-dnsutils") ||
(command -v pacmcn && pkg="bind") || (command -v pacman && pkg="bind") ||
(command -v yum dnf zypper && pkg="bind-utils") (command -v yum dnf zypper && pkg="bind-utils")
;; ;;
*) pkg=$cmd ;; *) pkg=$cmd ;;