mirror of
https://github.com/YunoHost-Apps/wekan_ynh.git
synced 2024-09-03 20:36:09 +02:00
Improve ynh_version_gt helper (it doesn't properly rank the part after ~)
This commit is contained in:
parent
0ab0735570
commit
4f2edf1318
1 changed files with 1 additions and 1 deletions
|
@ -210,4 +210,4 @@ EOF
|
|||
chmod +x "/etc/cron.daily/node_update"
|
||||
}
|
||||
|
||||
ynh_version_gt() { test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1"; }
|
||||
ynh_version_gt() { dpkg --compare-versions "$1" gt "$2" }
|
||||
|
|
Loading…
Add table
Reference in a new issue