Make sure debconf is installed

This commit is contained in:
Alexandre Aubin 2021-06-27 14:57:58 +02:00 committed by GitHub
parent a34056df42
commit 2f64d6ff2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -258,6 +258,10 @@ function check_assertions()
function upgrade_system() {
# Some VPS don't have debconf install, therefore don't have debconf-apt-progress...
# c.f. https://github.com/YunoHost/issues/issues/1828
dpkg --list | grep -q '^ii debconf ' || { apt update; apt install debconf; }
apt_get_wrapper update \
|| return 1