mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Install dialog if needed
This commit is contained in:
parent
0a8ffe91f4
commit
6103c75c94
1 changed files with 2 additions and 0 deletions
2
buster
2
buster
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue