setup-ubuntu.sh: use 'env' to pass DEBIAN_FRONTEND=noninteractive

Fixes https://github.com/termux/termux-packages/issues/8209
This commit is contained in:
Leonid Pliushch 2021-12-11 23:18:09 +02:00
parent 3d62742dec
commit 8279cf4717
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ else
INSTALL_NEW_PIP3=false
fi
$SUDO DEBIAN_FRONTEND=noninteractive \
$SUDO env DEBIAN_FRONTEND=noninteractive \
apt-get install -yq --no-install-recommends $PACKAGES
if $INSTALL_NEW_PIP3; then