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:
parent
01f0a36733
commit
c651373a9f
1 changed files with 2 additions and 1 deletions
|
@ -38,7 +38,6 @@ ynh_systemd_action --action="stop" --service_name="${app}_workers"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Installing dependencies..." --weight=23
|
ynh_script_progression --message="Installing dependencies..." --weight=23
|
||||||
|
|
||||||
ynh_exec_warn_less python3 -m pip install pipenv
|
|
||||||
|
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app: "$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_script_progression --message="Installing Python dependencies..." --weight=3
|
||||||
|
|
||||||
|
ynh_secure_remove $install_dir/.venv
|
||||||
|
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
python3 -m venv $install_dir/venv
|
python3 -m venv $install_dir/venv
|
||||||
source $install_dir/venv/bin/activate
|
source $install_dir/venv/bin/activate
|
||||||
|
|
Loading…
Reference in a new issue