adding xlib to dependencies, optimizing shell scripts

This commit is contained in:
Ondrej Samohel 2021-02-25 10:53:53 +01:00
parent e9509d8393
commit 9538aca9d0
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
6 changed files with 3 additions and 6 deletions

View file

@ -69,7 +69,7 @@ detect_python () {
python_version="$(python3 <<< ${version_command})"
oIFS="$IFS"
IFS=.
set -- "$python_version"
set -- $python_version
IFS="$oIFS"
if [ "$1" -ge "3" ] && [ "$2" -ge "6" ] ; then
if [ "$2" -gt "7" ] ; then