mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 14:16:40 +00:00
config: use Python3 package to set PKG_PYTHON_VERSION
This commit is contained in:
parent
97f87d8e9c
commit
4ce4965f5a
@ -494,7 +494,7 @@ reset_pkg_vars() {
|
|||||||
PKG_LICENSE="unknown"
|
PKG_LICENSE="unknown"
|
||||||
PKG_TOOLCHAIN="auto"
|
PKG_TOOLCHAIN="auto"
|
||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
PKG_PYTHON_VERSION="python2.7"
|
PKG_PYTHON_VERSION="${DEFAULT_PYTHON_VERSION}"
|
||||||
}
|
}
|
||||||
|
|
||||||
set_debug_depends() {
|
set_debug_depends() {
|
||||||
|
@ -106,5 +106,9 @@ check_config
|
|||||||
# If the package caches are unset, then populate them
|
# If the package caches are unset, then populate them
|
||||||
init_package_cache
|
init_package_cache
|
||||||
|
|
||||||
|
if [ -z "${DEFAULT_PYTHON_VERSION+set}" ]; then
|
||||||
|
export DEFAULT_PYTHON_VERSION="$(get_pkg_variable Python3 PKG_PYTHON_VERSION)"
|
||||||
|
fi
|
||||||
|
|
||||||
# set package metadata
|
# set package metadata
|
||||||
source_package "${1}"
|
source_package "${1}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user