Set noninteractive for apt

This commit is contained in:
TheSpad 2022-09-03 13:32:38 +01:00
parent 6e7eb8a8d3
commit 696a16f01b
No known key found for this signature in database
GPG key ID: 08F06191F4587860

View file

@ -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 \