From 5608d53bced233715106559cd59e36d603110841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Wed, 4 Oct 2023 07:54:30 +0200 Subject: [PATCH] Cleanup --- scripts/install | 6 +++--- scripts/upgrade | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 00acbf1..a81d5f6 100644 --- a/scripts/install +++ b/scripts/install @@ -28,13 +28,13 @@ fi ynh_script_progression --message="Creating base directory..." ln -s $data_dir $install_dir/seafile-data -# Check dependencies -install_dependance - # Download new version from sources ynh_script_progression --message="Installing sources files..." --weight=7 ynh_setup_source --dest_dir=$install_dir/seafile-server-$seafile_version +ynh_script_progression --message="Installing python dependancies..." +install_dependance + # init databases ynh_script_progression --message="Configuring MySQL database..." db_user=seafile diff --git a/scripts/upgrade b/scripts/upgrade index 6a70726..acdf3b2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -66,10 +66,11 @@ fi ynh_script_progression --message="Upgrading source files..." --weight=6 +# Download new version from sources ynh_script_progression --message="Installing sources files..." --weight=7 ynh_setup_source --dest_dir=$install_dir/seafile-server-$seafile_version -# Upgrade dependances +ynh_script_progression --message="Installing python dependancies..." install_dependance ynh_script_progression --message="Configuring application..."