website/www: fix issue where 1.4.0 downloads were showing
This commit is contained in:
parent
7168953ec0
commit
5a173a9380
|
@ -22,6 +22,10 @@ if ENV["VAGRANT_VERSION"]
|
||||||
next if line !~ /\/mitchellh\/vagrant\/(.+?)'/
|
next if line !~ /\/mitchellh\/vagrant\/(.+?)'/
|
||||||
filename = $1.to_s
|
filename = $1.to_s
|
||||||
$vagrant_os_mappings.each do |suffix, os|
|
$vagrant_os_mappings.each do |suffix, os|
|
||||||
|
if !filename.include?(ENV["VAGRANT_VERSION"])
|
||||||
|
next
|
||||||
|
end
|
||||||
|
|
||||||
if filename.end_with?(suffix)
|
if filename.end_with?(suffix)
|
||||||
$vagrant_files[os] ||= []
|
$vagrant_files[os] ||= []
|
||||||
$vagrant_files[os] << filename
|
$vagrant_files[os] << filename
|
||||||
|
|
Loading…
Reference in New Issue