1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/onlyoffice_ynh.git synced 2024-09-03 19:56:11 +02:00

set YNH_INSTALL_APP_DEPENDENCIES_REPLACE to false before calling ynh_install_extra_app_dependencies to avoid removing app dependencies

This commit is contained in:
Kayou 2024-04-17 23:37:03 +02:00 committed by GitHub
parent 7eb281bcf7
commit a716211c4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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" \