mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
* Made tgz version parsing greedier so it will match sub-versions.
This commit is contained in:
@@ -92,7 +92,7 @@ sub scan {
|
||||
# Strip out any tar extentions.
|
||||
$basename=~s/\.(tgz|tar\.(gz|Z))$//;
|
||||
|
||||
if ($basename=~m/(.*)-(.*?[0-9]+.*?)/) {
|
||||
if ($basename=~m/(.*)-(.*?[0-9]+.*)/) {
|
||||
$this->name($1);
|
||||
$this->version($2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user