File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -895,8 +895,8 @@ setup_esphome_device_builder() {
895895 echo -e " $( timestamp) [openHABian] ${COL_RED} Error: Failed to install Python 3 and pip.${COL_DEF} "
896896 return 1
897897 fi
898- echo " $( timestamp) [openHABian] Check if Python 3 and pip are already installed..."
899- elif ! [ " $( printf " %s\n%s" " 3.1 " " $( python3 -V 2> /dev/null | awk ' {print $2}' ) " | sort -V | head -n1) " = " $min_python_version " ]; then
898+ echo " $( timestamp) [openHABian] Check if Python 3 and pip are already installed and up to date ..."
899+ elif ! [ " $( printf " %s\n%s" " $min_python_version " " $( python3 -V 2> /dev/null | awk ' {print $2}' ) " | sort -V | head -n1) " = " $min_python_version " ]; then
900900 echo " $( timestamp) [openHABian] updating Python 3 and pip..."
901901 if ! cond_redirect apt install -y python3; then
902902 echo -e " $( timestamp) [openHABian] ${COL_RED} Error: Failed to update Python 3 and pip.${COL_DEF} "
You can’t perform that action at this time.
0 commit comments