bottle_version: support psutils style
Closes Homebrew/homebrew#37959. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
edf205f5ca
commit
941842f0d6
@ -49,6 +49,10 @@ class BottleVersion < Version
|
|||||||
m = /-(\d{2})/.match(stem)
|
m = /-(\d{2})/.match(stem)
|
||||||
return m.captures.first unless m.nil?
|
return m.captures.first unless m.nil?
|
||||||
|
|
||||||
|
# e.g. p17 from psutils-p17.yosemite.bottle.tar.gz
|
||||||
|
m = /-(p\d{2})/.match(stem)
|
||||||
|
return m.captures.first unless m.nil?
|
||||||
|
|
||||||
super
|
super
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user