* Made tgz version parsing greedier so it will match sub-versions.

This commit is contained in:
joey
2002-07-06 12:06:50 +00:00
parent 25806d4146
commit ec291f3dde
2 changed files with 7 additions and 1 deletions

View File

@@ -92,7 +92,7 @@ sub scan {
# Strip out any tar extentions. # Strip out any tar extentions.
$basename=~s/\.(tgz|tar\.(gz|Z))$//; $basename=~s/\.(tgz|tar\.(gz|Z))$//;
if ($basename=~m/(.*)-(.*?[0-9]+.*?)/) { if ($basename=~m/(.*)-(.*?[0-9]+.*)/) {
$this->name($1); $this->name($1);
$this->version($2); $this->version($2);
} }

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
alien (8.13) unstable; urgency=low
* Made tgz version parsing greedier so it will match sub-versions.
-- Joey Hess <joeyh@debian.org> Sat, 6 Jul 2002 08:05:45 -0400
alien (8.12) unstable; urgency=low alien (8.12) unstable; urgency=low
* Fixed slp conversion to not use uninitialized value. Closes: #150840 * Fixed slp conversion to not use uninitialized value. Closes: #150840