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

Add Warn_less

This commit is contained in:
ericgaspar 2021-04-12 15:13:32 +02:00
parent 6df3db56c8
commit f0351d34bb
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 3 additions and 8 deletions

View file

@ -30,11 +30,6 @@ ynh_script_progression --message="Loading installation settings..."
port=$(ynh_app_setting_get --app=$app --key=port)
nextclouddomain=$(ynh_app_setting_get --app=$app --key=nextclouddomain)
# Add settings here as needed by your application
#db_name=$(ynh_app_setting_get --app=$app --key=db_name)
#db_user=$db_name
#db_pwd=$(ynh_app_setting_get --app=$app --key=db_pwd)
#=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
#=================================================

View file

@ -129,7 +129,7 @@ ynh_script_progression --message="Install OnlyOffice..."
# the install/configure of their package, which is awful since that will
# restart nginx and the whole webadmin and maybe even the yunohost command
# running the install ...
ynh_add_app_dependencies --package="onlyoffice-documentserver"
ynh_exec_warn_less ynh_add_app_dependencies --package="onlyoffice-documentserver"
#=================================================
# MODIFY A CONFIG FILE

View file

@ -100,7 +100,7 @@ echo onlyoffice-documentserver onlyoffice/db-name string $db_name | debconf-set-
#=================================================
ynh_script_progression --message="Reinstalling OnlyOffice..."
ynh_add_app_dependencies --package="onlyoffice-documentserver"
ynh_exec_warn_less ynh_add_app_dependencies --package="onlyoffice-documentserver"
#=================================================
# RESTORE THE CONFIGURATION

View file

@ -123,7 +123,7 @@ echo onlyoffice-documentserver onlyoffice/db-name string $db_name | debconf-set-
#=================================================
ynh_script_progression --message="Upgrading OnlyOffice..."
ynh_add_app_dependencies --package="onlyoffice-documentserver"
ynh_exec_warn_less ynh_add_app_dependencies --package="onlyoffice-documentserver"
#=================================================
# MODIFY A CONFIG FILE