diff --git a/scripts/restore b/scripts/restore index 3c6de79..4f9c05f 100755 --- a/scripts/restore +++ b/scripts/restore @@ -88,7 +88,7 @@ chown -R $app: $final_path # Define and install dependencies ynh_print_info "Installing dependencies and pip packages" -ynh_install_app_dependencies $pkg_dependencies +ynh_install_app_dependencies $PKG_DEPENDENCIES pip install --target $final_path/vendor -r $final_path/requirements.txt #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 9a45b42..f66a801 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -72,7 +72,7 @@ ynh_add_nginx_config # UPGRADE DEPENDENCIES #================================================= -ynh_install_app_dependencies $pkg_dependencies +ynh_install_app_dependencies $PKG_DEPENDENCIES pip install --target $final_path/vendor -r $final_path/requirements.txt #=================================================