logitech
Signed-off-by: fukiame <fukiame@proton.me>
This commit is contained in:
parent
ef92fda269
commit
bd750e2097
1 changed files with 4 additions and 4 deletions
|
|
@ -87,8 +87,8 @@ for f in patches/*.sh ; do
|
|||
minminor="$(bb_split "$minver" '.' '1')"
|
||||
minpatch="$(bb_split "$minver" '.' '2')"
|
||||
|
||||
( [ "$(get_mb_ver '0')" -ge "$minmajor" ] && \
|
||||
[ "$(get_mb_ver '1')" -ge "$minminor" ] && \
|
||||
( ( [ "$(get_mb_ver '0')" -ge "$minmajor" ] && \
|
||||
[ "$(get_mb_ver '1')" -gt "$minminor" ] ) || \
|
||||
[ "$(get_mb_ver '2')" -gt "$minpatch" ] \
|
||||
) || {
|
||||
info "[parser] skipping [$pname] as current version is lower than patch version clamp"
|
||||
|
|
@ -105,8 +105,8 @@ for f in patches/*.sh ; do
|
|||
maxminor="$(bb_split "$maxver" '.' '1')"
|
||||
maxpatch="$(bb_split "$maxver" '.' '2')"
|
||||
|
||||
( [ "$(get_mb_ver '0')" -le "$maxmajor" ] && \
|
||||
[ "$(get_mb_ver '1')" -le "$maxminor" ] && \
|
||||
( ( [ "$(get_mb_ver '0')" -le "$maxmajor" ] && \
|
||||
[ "$(get_mb_ver '1')" -lt "$maxminor" ] ) || \
|
||||
[ "$(get_mb_ver '2')" -lt "$maxpatch" ] \
|
||||
) || {
|
||||
info "[parser] skipping [$pname] as current version is higher than patch version clamp"
|
||||
|
|
|
|||
Reference in a new issue