From abc26ef460b4b1e502080bbf63ee9529fae28e01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 9 May 2019 11:18:17 +0200 Subject: [PATCH] Always install dependances in upgrade script --- scripts/upgrade | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 7455cf6..c52a17a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -45,6 +45,9 @@ pkill -f seahub || true test -e $final_path/seafile-server-$seafile_version && ynh_secure_remove "$final_path/seafile-server-$seafile_version" install_source +# Upgrade dependances +install_dependance + # permission to execute update script and expect helper chmod +x expect_scripts/upgrade_*.exp chmod +x expect_scripts/minor-upgrade.exp @@ -79,7 +82,6 @@ case $installed_version in ;& "6.0."* ) python3 ../conf/update_sso_conf.py || true - install_dependance # Update seafile by script expect_scripts/upgrade_6.1.exp $final_path/seafile-server-$seafile_version $root_pwd