mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Make sure debconf is installed
This commit is contained in:
parent
a34056df42
commit
2f64d6ff2a
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue