Fix version extraction for XML-Parser

This commit is contained in:
Pierre Labastie 2014-12-09 20:58:02 +00:00
parent a9832566c9
commit 3d96a65554

View file

@ -139,7 +139,7 @@ get_package_version() { #
iproute*) echo ${1} | sed -e 's@^[^-]*-@@' \
-e 's@\.tar.*@@'
;;
pkg*|udev*|Singular*)
pkg*|udev*|Singular*|XML*)
echo ${1} | sed -e 's@^.*[a-z]-\([[:digit:]]\)@\1@' \
-e 's@\.tar.*@@' \
-e 's@\.zip.*@@'