diff --git a/script/get-generic-sys-util/_cm.json b/script/get-generic-sys-util/_cm.json index 39e1322d8..6c59d6b06 100644 --- a/script/get-generic-sys-util/_cm.json +++ b/script/get-generic-sys-util/_cm.json @@ -237,7 +237,7 @@ "env": { "CM_SYS_UTIL_NAME": "libbz2_dev", "CM_SYS_UTIL_VERSION_CMD": "bzcat --version", - "CM_SYS_UTIL_VERSION_RE": "Version ([A-Za-z0-9]+(\\.[A-Za-z0-9]+)+)" + "CM_SYS_UTIL_VERSION_RE": "\\b\\d+\\.\\d+(?:\\.\\d+)?\\b" }, "state": { "libbz2_dev": { @@ -554,7 +554,7 @@ "env": { "CM_SYS_UTIL_NAME": "md5sha1sum", "CM_SYS_UTIL_VERSION_CMD": "md5sum --version", - "CM_SYS_UTIL_VERSION_RE": "md5sum \\(GNU coreutils\\) ([\\d.]+)" + "CM_SYS_UTIL_VERSION_RE": "\\b\\d+\\.\\d+(?:\\.\\d+)?\\b" }, "state": { "md5sha1sum": {