diff --git a/lib/ulib/.ulibver b/lib/ulib/.ulibver index 4ba0555..ede2a67 100644 --- a/lib/ulib/.ulibver +++ b/lib/ulib/.ulibver @@ -1 +1 @@ -002001000 +002002000 diff --git a/lib/ulib/ulib b/lib/ulib/ulib index 0651450..4e5b577 100644 --- a/lib/ulib/ulib +++ b/lib/ulib/ulib @@ -186,3 +186,9 @@ function ulibver() { fi return 0 } + +function ulibver_require() { + ulibver "$@" && return 0 + eerror "Ce script nécessite ulib version${1:+" >= $1"}${2:+" < $2"}" + return 1 +}