mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Always install dependances in upgrade script
This commit is contained in:
parent
fc6d25f4b4
commit
abc26ef460
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue