From 673aa5eaa878b3b4a2fa206eef3ad3e7c8a4a30d Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 18 May 2021 02:21:01 +0200 Subject: [PATCH] remove time --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 81837ff..95a091d 100644 --- a/scripts/install +++ b/scripts/install @@ -156,7 +156,7 @@ mkdir -p "$final_path/app/sites/default/files/tmp" #================================================= # CREATE DATA DIRECTORY #================================================= -ynh_script_progression --message="Creating a data directory..." --time --weight=1 +ynh_script_progression --message="Creating a data directory..." datadir=/home/yunohost.app/$app ynh_app_setting_set --app=$app --key=datadir --value=$datadir diff --git a/scripts/restore b/scripts/restore index ea4d445..6178f45 100644 --- a/scripts/restore +++ b/scripts/restore @@ -76,7 +76,7 @@ chmod 2775 "$final_path/app/sites/default/files" #================================================= # RESTORE THE DATA DIRECTORY #================================================= -ynh_script_progression --message="Restoring the data directory..." --time --weight=1 +ynh_script_progression --message="Restoring the data directory..." ynh_restore_file --origin_path="$datadir" --not_mandatory diff --git a/scripts/upgrade b/scripts/upgrade index 45e8c6f..ba496e9 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -134,7 +134,7 @@ ynh_add_fpm_config --usage=low --footprint=low --package="$extra_php_dependencie #================================================= # CREATE DATA DIRECTORY #================================================= -ynh_script_progression --message="Creating a data directory..." --time --weight=1 +ynh_script_progression --message="Creating a data directory..." mkdir -p $datadir chmod 750 "$datadir"