mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Propagate recent changes in buster script to bullseye as well
This commit is contained in:
parent
b785f374f1
commit
097ac00b96
1 changed files with 6 additions and 2 deletions
|
@ -200,7 +200,7 @@ function apt_get_wrapper() {
|
|||
|
||||
|
||||
function apt_update() {
|
||||
apt_get_wrapper update
|
||||
apt_get_wrapper update --allow-releaseinfo-change
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -261,7 +261,11 @@ function check_assertions()
|
|||
|
||||
function upgrade_system() {
|
||||
|
||||
apt_get_wrapper update \
|
||||
# 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; }
|
||||
|
||||
apt_get_wrapper update --allow-releaseinfo-change \
|
||||
|| return 1
|
||||
|
||||
# We need libtext-iconv-perl even before the dist-upgrade,
|
||||
|
|
Loading…
Add table
Reference in a new issue