1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00

Fix dpkg --compare-versions

This commit is contained in:
ewilly 2022-02-07 22:37:55 +01:00
parent d37b7a955b
commit 622b64078a

View file

@ -65,7 +65,7 @@ myynh_install_python () {
fi fi
# Compare version # Compare version
if [ $(dpkg --compare-versions $py_apt_version ge $python) ] if $(dpkg --compare-versions $py_apt_version ge $python)
then then
# APT >= Required # APT >= Required
ynh_print_info --message="Using provided python3..." ynh_print_info --message="Using provided python3..."
@ -74,7 +74,7 @@ myynh_install_python () {
else else
# Either python already built or to build # Either python already built or to build
if [ $(dpkg --compare-versions $py_built_version ge $python) ] if $(dpkg --compare-versions $py_built_version ge $python)
then then
# Built >= Required # Built >= Required
ynh_print_info --message="Using already used python3 built version..." ynh_print_info --message="Using already used python3 built version..."