mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-31 19:08:07 +08:00
core: 使用非交互 apt 安装
This commit is contained in:
parent
31e66688e2
commit
20636f33df
@ -651,7 +651,7 @@ install_pkg() {
|
|||||||
;;
|
;;
|
||||||
apt)
|
apt)
|
||||||
[ -z "$apk_updated" ] && apt update && apk_updated=1
|
[ -z "$apk_updated" ] && apt update && apk_updated=1
|
||||||
apt install -y $pkg
|
DEBIAN_FRONTEND=noninteractive apt install -y $pkg
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user