mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-18 21:00:56 +02:00
pentoo-updater: fix for python 3.10
This commit is contained in:
parent
54433c6397
commit
c985b5a7bc
1 changed files with 1 additions and 1 deletions
|
|
@ -414,7 +414,7 @@ main_checks() {
|
|||
#first we set the python interpreters to match PYTHON_TARGETS (and ensure the versions we set are actually built)
|
||||
PYTHON2=$(emerge --info | grep -oE '^PYTHON_TARGETS\=".*(python[23]_[0-9]\s*)+"' | grep -oE 'python2_[0-9]' | cut -d\" -f2 | cut -d" " -f 1 |sed 's#_#.#')
|
||||
#PYTHON_SINGLE_TARGET is the *main* python3 implementation
|
||||
PYTHON3=$(emerge --info | grep -oE '^PYTHON_SINGLE_TARGET\=".*(python3_[0-9]\s*)+"' | grep -oE 'python3_[0-9]' | cut -d\" -f2 | sed 's#_#.#')
|
||||
PYTHON3=$(emerge --info | grep -oE '^PYTHON_SINGLE_TARGET\=".*(python3_[0-9]+\s*)+"' | grep -oE 'python3_[0-9]+' | cut -d\" -f2 | sed 's#_#.#')
|
||||
if [ -z "${PYTHON2}" ]; then
|
||||
printf "Detected Python 2 is disabled\n"
|
||||
printf "From PYTHON_TARGETS: $(emerge --info | grep '^PYTHON_TARGETS')\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue