1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mygpo_ynh.git synced 2024-09-03 19:55:52 +02:00

Fix upgrade script

This commit is contained in:
Jules Bertholet 2021-03-30 09:34:35 -04:00
parent be38950595
commit 02e92837a8

View file

@ -97,6 +97,9 @@ ynh_system_user_create --username=$app
#=================================================
ynh_script_progression --message="Upgrading Python virtualenv..." --weight=2
env_path=$final_path/envs/prod
mkdir -p $env_path
pushd $final_path || ynh_die
chown -R $app:$app $final_path
sudo -u $app python3 -m venv $final_path/venv