Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Jul 16, 2024
1 parent 6416043 commit a0848b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,8 @@ check_python_exits() {
local PYTON3_MAJOR="$(python3 -V | awk '{ print $2 }' | awk -F '.' '{ print $1 }')"
# shellcheck disable=SC2155
local PYTON3_MINOR="$(python3 -V | awk '{ print $2 }' | awk -F '.' '{ print $2 }')"
if [ $(("${PYTON3_MAJOR}")) -ge 3 ]; then
if [ $(("${PYTON3_MAJOR}")) -eq 3 ] && [ $(("${PYTON3_MINOR}")) -lt 10 ]; then
if [ $((${PYTON3_MAJOR})) -ge 3 ]; then
if [ $((${PYTON3_MAJOR})) -eq 3 ] && [ $((${PYTON3_MINOR})) -lt 10 ]; then
echo "phpy no support python3 ${PYTHON3_VERSION} version ! "
exit 0
fi
Expand Down

0 comments on commit a0848b0

Please sign in to comment.