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..."