Install dialog if needed

This commit is contained in:
Alexandre Aubin 2021-09-08 00:29:25 +02:00 committed by GitHub
parent 0a8ffe91f4
commit 6103c75c94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
buster
View file

@ -261,6 +261,8 @@ 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 --allow-releaseinfo-change; apt install debconf; }
# also dialog ... https://github.com/YunoHost/doc/pull/1739
dpkg --list | grep -q '^ii dialog ' || { apt update --allow-releaseinfo-change; apt install dialog; }
apt_get_wrapper update --allow-releaseinfo-change \
|| return 1