fix owner issue on upgrade

This commit is contained in:
Josué Tille 2021-03-31 17:27:04 +02:00
parent 441c3c8ccd
commit 8e50e903d4
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -118,6 +118,10 @@ chmod +x expect_scripts/upgrade_*.exp
chmod +x expect_scripts/minor-upgrade.exp
chmod +x $final_path/seafile-server-$seafile_version/upgrade/upgrade_*.sh
chmod +x $final_path/seafile-server-$seafile_version/upgrade/minor-upgrade.sh
chown $seafile_user expect_scripts/upgrade_*.exp
chown $seafile_user expect_scripts/minor-upgrade.exp
chown $seafile_user $final_path/seafile-server-$seafile_version/upgrade/upgrade_*.sh
chown $seafile_user $final_path/seafile-server-$seafile_version/upgrade/minor-upgrade.sh
# do the upgrade ( the ";&" syntax mean when it go in the first case which is true it do all the next case)
case $installed_version in