containerctl: Fix python version check
Signed-off-by: Enno Tensing <tenno@suij.in>
This commit is contained in:
parent
2e793fd31f
commit
d67137363f
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ generate_container()
|
|||
|
||||
mypython="python3"
|
||||
pyver="$(/usr/bin/env "${mypython}" -c 'import sys; print(sys.version_info.minor)')"
|
||||
if [ "${pyver}" -gt "11" ]
|
||||
if [ "${pyver}" -lt "11" ]
|
||||
then
|
||||
mypython="python3.11"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue