core: 使用非交互 apt 安装

This commit is contained in:
bin456789
2023-10-27 11:48:18 +08:00
parent 31e66688e2
commit 20636f33df

View File

@ -651,7 +651,7 @@ install_pkg() {
;;
apt)
[ -z "$apk_updated" ] && apt update && apk_updated=1
apt install -y $pkg
DEBIAN_FRONTEND=noninteractive apt install -y $pkg
;;
esac
}