From f0351d34bbf4fc6fb551564519dad5931298759d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 12 Apr 2021 15:13:32 +0200 Subject: [PATCH] Add Warn_less --- scripts/change_url | 5 ----- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 753d52b..d1742a8 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -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 #================================================= diff --git a/scripts/install b/scripts/install index 01f6da7..a14114b 100644 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/restore b/scripts/restore index a77e74a..7da5c74 100644 --- a/scripts/restore +++ b/scripts/restore @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index 3f12d43..541d80a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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