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:
parent
7eb281bcf7
commit
a716211c4e
1 changed files with 3 additions and 8 deletions
|
@ -8,14 +8,6 @@
|
||||||
# PERSONAL HELPERS
|
# 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() {
|
_install_onlyoffice_deb() {
|
||||||
echo onlyoffice-documentserver onlyoffice/ds-port select "$port" | debconf-set-selections
|
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
|
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
|
# restart NGINX and the whole webadmin and maybe even the YunoHost command
|
||||||
# running the install...
|
# 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
|
# 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 \
|
ynh_exec_warn_less ynh_install_extra_app_dependencies \
|
||||||
--repo="https://download.onlyoffice.com/repo/debian squeeze main" \
|
--repo="https://download.onlyoffice.com/repo/debian squeeze main" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue