mirror of
https://github.com/YunoHost-Apps/onlyoffice_ynh.git
synced 2024-09-03 19:56:11 +02:00
revert preinstall ttf-mscorefonts-installer, set YNH_INSTALL_APP_DEPENDENCIES_REPLACE to false
This commit is contained in:
parent
a716211c4e
commit
43d5f9daf9
5 changed files with 21 additions and 1 deletions
|
@ -72,9 +72,14 @@ ram.runtime = "800M"
|
|||
"libstdc++6",
|
||||
"rabbitmq-server",
|
||||
"libcurl4-openssl-dev",
|
||||
"ttf-mscorefonts-installer",
|
||||
]
|
||||
|
||||
# Manual install in scripts
|
||||
# [resources.apt.extras.ttf]
|
||||
# repo = "deb http://deb.debian.org/debian/ bullseye main contrib"
|
||||
# key = "https://ftp-master.debian.org/keys/release-bullseye.asc"
|
||||
# packages = ["ttf-mscorefonts-installer"]
|
||||
|
||||
# Manual install in scripts
|
||||
# [resources.apt.extras.onlyoffice]
|
||||
# repo = "https://download.onlyoffice.com/repo/debian squeeze main"
|
||||
|
|
|
@ -8,6 +8,18 @@
|
|||
# PERSONAL HELPERS
|
||||
#=================================================
|
||||
|
||||
_install_msfonts_deb() {
|
||||
|
||||
# Do not replace app dependencies
|
||||
YNH_INSTALL_APP_DEPENDENCIES_REPLACE="false"
|
||||
|
||||
# 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
|
||||
|
|
|
@ -21,6 +21,7 @@ ynh_app_setting_set --app="$app" --key=jwt_secret --value="$jwt_secret"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Install OnlyOffice..."
|
||||
|
||||
_install_msfonts_deb
|
||||
_install_onlyoffice_deb
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -20,6 +20,7 @@ ynh_psql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Install OnlyOffice..."
|
||||
|
||||
_install_msfonts_deb
|
||||
_install_onlyoffice_deb
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -22,6 +22,7 @@ ynh_script_progression --message="Upgrading OnlyOffice..."
|
|||
|
||||
ynh_backup_if_checksum_is_different --file="/etc/onlyoffice/documentserver/default.json"
|
||||
|
||||
_install_msfonts_deb
|
||||
_install_onlyoffice_deb
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue