Set noninteractive for apt
This commit is contained in:
parent
6e7eb8a8d3
commit
696a16f01b
|
|
@ -130,6 +130,7 @@ curl_check() {
|
||||||
echo "[mod-init] Curl/JQ was not found on this system for Docker mods installing"
|
echo "[mod-init] Curl/JQ was not found on this system for Docker mods installing"
|
||||||
if [[ -f /usr/bin/apt ]]; then
|
if [[ -f /usr/bin/apt ]]; then
|
||||||
## Ubuntu
|
## Ubuntu
|
||||||
|
export DEBIAN_FRONTEND="noninteractive"
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install --no-install-recommends -y \
|
apt-get install --no-install-recommends -y \
|
||||||
curl \
|
curl \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue