Merge pull request #643 from YunoHost/get-rid-of-frontend-warnings

[fix] Get rid of annoying 'unable to initialize frontend' messages
This commit is contained in:
Alexandre Aubin 2019-02-21 14:32:34 +01:00 committed by GitHub
commit fdbffe9590
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@ ynh_package_version() {
# usage: ynh_apt update # usage: ynh_apt update
ynh_apt() { ynh_apt() {
ynh_wait_dpkg_free ynh_wait_dpkg_free
DEBIAN_FRONTEND=noninteractive sudo apt-get -y $@ DEBIAN_FRONTEND=noninteractive apt-get -y $@
} }
# Update package index files # Update package index files