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:
parent
6df3db56c8
commit
f0351d34bb
4 changed files with 3 additions and 8 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue