core: 修复 debian10 下无法安装 nslookup
This commit is contained in:
parent
5c5b2ae81c
commit
347cd9ccc8
@ -526,10 +526,10 @@ install_pkg() {
|
|||||||
pkg=
|
pkg=
|
||||||
case $cmd in
|
case $cmd in
|
||||||
unsquashfs) command -v zypper && pkg=squashfs || pkg=squashfs-tools ;;
|
unsquashfs) command -v zypper && pkg=squashfs || pkg=squashfs-tools ;;
|
||||||
lsmem) pkg=util-linux ;;
|
lsmem | lsblk) pkg=util-linux ;;
|
||||||
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="dnsutils"; } ||
|
||||||
{ command -v pacman && pkg="bind"; } ||
|
{ command -v pacman && pkg="bind"; } ||
|
||||||
{ command -v yum dnf zypper && pkg="bind-utils"; }
|
{ command -v yum dnf zypper && pkg="bind-utils"; }
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user