diff --git a/scripts/_common.sh b/scripts/_common.sh index 658bd36..57b23d3 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -8,14 +8,6 @@ # PERSONAL HELPERS #================================================= -_install_msfonts_deb() { - # Run this here because it's less verbose for some reason - ynh_exec_warn_less ynh_install_extra_app_dependencies \ - --repo="deb http://deb.debian.org/debian/ $(lsb_release --codename --short) main contrib" \ - --key="https://ftp-master.debian.org/keys/release-$(lsb_release --release --short).asc" \ - --package="ttf-mscorefonts-installer" -} - _install_onlyoffice_deb() { echo onlyoffice-documentserver onlyoffice/ds-port select "$port" | debconf-set-selections echo onlyoffice-documentserver onlyoffice/db-host string 127.0.0.1 | debconf-set-selections @@ -29,6 +21,9 @@ _install_onlyoffice_deb() { # restart NGINX and the whole webadmin and maybe even the YunoHost command # running the install... + # Do not replace app dependencies + YNH_INSTALL_APP_DEPENDENCIES_REPLACE="false" + # Can't do that in the manifest because we need the debconf-set-selections and postgresql already configured ynh_exec_warn_less ynh_install_extra_app_dependencies \ --repo="https://download.onlyoffice.com/repo/debian squeeze main" \