From 347cd9ccc8ef041ffe48a3429ada4d317b3ce35f Mon Sep 17 00:00:00 2001 From: bin456789 Date: Sun, 27 Aug 2023 23:53:53 +0800 Subject: [PATCH] =?UTF-8?q?core:=20=E4=BF=AE=E5=A4=8D=20debian10=20?= =?UTF-8?q?=E4=B8=8B=E6=97=A0=E6=B3=95=E5=AE=89=E8=A3=85=20nslookup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reinstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reinstall.sh b/reinstall.sh index 964472a..f70abe0 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -526,10 +526,10 @@ install_pkg() { pkg= case $cmd in unsquashfs) command -v zypper && pkg=squashfs || pkg=squashfs-tools ;; - lsmem) pkg=util-linux ;; + lsmem | lsblk) pkg=util-linux ;; nslookup | dig) { command -v apk && pkg="bind-tools"; } || - { command -v apt && pkg="bind9-dnsutils"; } || + { command -v apt && pkg="dnsutils"; } || { command -v pacman && pkg="bind"; } || { command -v yum dnf zypper && pkg="bind-utils"; } ;;