1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pepettes_ynh.git synced 2024-09-03 19:56:35 +02:00

Swith to PYTHON_VERSION

This commit is contained in:
yalh76 2021-03-13 14:13:02 +01:00
parent db62524365
commit cf0812e408
4 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@
# dependencies used by the app
pkg_dependencies="curl"
python_version=3.7.3
PYTHON_VERSION=3.7.3
#=================================================
# PERSONAL HELPERS

View file

@ -84,7 +84,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port
ynh_script_progression --message="Installing dependencies..." --weight=1
ynh_install_app_dependencies $pkg_dependencies
ynh_install_python --python_version=$python_version
ynh_install_python --python_version=$PYTHON_VERSION
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE

View file

@ -75,7 +75,7 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=1
# Define and install dependencies
ynh_install_app_dependencies $pkg_dependencies
ynh_install_python --python_version=$python_version
ynh_install_python --python_version=$PYTHON_VERSION
#=================================================
# INSTALL PYTHON DEPENDENCIES

View file

@ -93,7 +93,7 @@ ynh_add_nginx_config
ynh_script_progression --message="Upgrading dependencies..." --weight=1
ynh_install_app_dependencies $pkg_dependencies
ynh_install_python --python_version=$python_version
ynh_install_python --python_version=$PYTHON_VERSION
#=================================================
# CREATE DEDICATED USER