GUACAMOLE-1540: Correct regex stripping of package version (major number may have multiple digits).

This commit is contained in:
Michael Jumper 2022-08-19 12:12:07 -07:00
parent 5918cc9f7c
commit 2bc9d5ff01

View File

@ -47,5 +47,5 @@ while [ -n "$1" ]; do
# Strip the "-VERSION" suffix from each package name, listing each resulting # Strip the "-VERSION" suffix from each package name, listing each resulting
# package uniquely ("apk add" cannot handle package names that include the # package uniquely ("apk add" cannot handle package names that include the
# version number) # version number)
done | sed 's/\(.*\)-[0-9]\..*$/\1/' | sort -u done | sed 's/\(.*\)-[0-9]\+\..*$/\1/' | sort -u