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
# Compare version
if [ $(dpkg --compare-versions $py_apt_version ge $python) ]
if $(dpkg --compare-versions $py_apt_version ge $python)
then
# APT >= Required
ynh_print_info --message="Using provided python3..."
@ -74,7 +74,7 @@ myynh_install_python () {
else
# 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
# Built >= Required
ynh_print_info --message="Using already used python3 built version..."