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:
parent
d37b7a955b
commit
622b64078a
1 changed files with 2 additions and 2 deletions
|
@ -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..."
|
||||||
|
|
Loading…
Add table
Reference in a new issue