Relax dpkg version regex #19

Merged
josch merged 1 commits from tambre/mmdebstrap:dpkg_version_regex into main 3 years ago

1 Commits (main)

Author SHA1 Message Date
Raul Tambre c61e81a244 Relax dpkg version regex
For non-release builds the version will include the number of commits since last release and the commit hash with dashes, e.g. 1.20.8-46-g0881.
For downstream distros it seems it may include their identification strings, e.g. 1.20.9ubuntu2.

Make the regex match everything after the version number to avoid incorrectly erroring on such versions.

Fixes #18
3 years ago