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:
parent
db62524365
commit
cf0812e408
4 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
|||
# dependencies used by the app
|
||||
pkg_dependencies="curl"
|
||||
|
||||
python_version=3.7.3
|
||||
PYTHON_VERSION=3.7.3
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue