Skip to content

Commit

Permalink
Fix install during upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmennetrier committed Apr 23, 2023
1 parent 548eabc commit 829c486
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,13 @@ echo onlyoffice-documentserver onlyoffice/db-name string $db_name | debconf-set-
ynh_script_progression --message="Upgrading OnlyOffice..."

ynh_remove_extra_repo --name="$app" # backward compat
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5

# keyserver.ubuntu.com response an error 500 regularly
# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5

# ynh_remove_app_dependencies
ynh_install_extra_app_dependencies --repo="https://download.onlyoffice.com/repo/debian squeeze main" --package=$extra_dependencies --key="https://ftp-master.debian.org/keys/release-$(lsb_release --release --short).asc"
ynh_install_extra_app_dependencies --repo="https://download.onlyoffice.com/repo/debian squeeze main" --package=$extra_dependencies --key="https://download.onlyoffice.com/GPG-KEY-ONLYOFFICE"


#=================================================
# UPDATE A CONFIG FILE
Expand Down

0 comments on commit 829c486

Please sign in to comment.