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:
parent
be38950595
commit
02e92837a8
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue