mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-19 04:49:13 +08:00
core: 使用非交互 apt 安装
This commit is contained in:
parent
31e66688e2
commit
20636f33df
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user