préférer la version locale en cas d'égalité de version
This commit is contained in:
parent
55f72a1c2e
commit
caad36ebe6
|
@ -50,7 +50,7 @@ function __ulibver_check() {
|
||||||
[ "$sminor" -gt "$minor" ] && return 0
|
[ "$sminor" -gt "$minor" ] && return 0
|
||||||
[ "$sminor" -lt "$minor" ] && return 1
|
[ "$sminor" -lt "$minor" ] && return 1
|
||||||
# puis tester patchlevel
|
# puis tester patchlevel
|
||||||
[ "$spatch" -ge "$patch" ]
|
[ "$spatch" -gt "$patch" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -f /etc/ulib ] && __ulibver_check; then
|
if [ -f /etc/ulib ] && __ulibver_check; then
|
||||||
|
|
Loading…
Reference in New Issue