1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fittrackee_ynh.git synced 2024-09-03 18:36:16 +02:00

Update upgrade

This commit is contained in:
Thomas 2023-06-12 09:54:07 +02:00 committed by GitHub
parent 01f0a36733
commit c651373a9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,6 @@ ynh_systemd_action --action="stop" --service_name="${app}_workers"
#=================================================
ynh_script_progression --message="Installing dependencies..." --weight=23
ynh_exec_warn_less python3 -m pip install pipenv
chmod -R o-rwx "$install_dir"
chown -R $app: "$install_dir"
@ -59,6 +58,8 @@ set -a; source "$install_dir/.env"; set +a
#=================================================
ynh_script_progression --message="Installing Python dependencies..." --weight=3
ynh_secure_remove $install_dir/.venv
pushd $install_dir
python3 -m venv $install_dir/venv
source $install_dir/venv/bin/activate