From cf0812e40842b79b7f08b106291ae5ea576fdac4 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 13 Mar 2021 14:13:02 +0100 Subject: [PATCH] Swith to PYTHON_VERSION --- scripts/_common.sh | 2 +- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index b339122..41eb8bd 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -7,7 +7,7 @@ # dependencies used by the app pkg_dependencies="curl" -python_version=3.7.3 +PYTHON_VERSION=3.7.3 #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index f4cb130..e208ff9 100755 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/restore b/scripts/restore index cdc7ca5..d2502d2 100755 --- a/scripts/restore +++ b/scripts/restore @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index 135b4bd..c0d3565 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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