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
|
||||
|
||||
# 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..."
|
||||
|
|
Loading…
Add table
Reference in a new issue