From 4b3f0c485177449cf4c519d47529baa50583bb20 Mon Sep 17 00:00:00 2001 From: Yurii Kolesnykov Date: Mon, 4 May 2015 19:39:15 +0300 Subject: [PATCH] modify virtualbox urls --- Casks/virtualbox422492790.rb | 2 +- Casks/virtualbox431293733.rb | 2 +- Casks/virtualbox432096996.rb | 2 +- Casks/virtualbox43691406.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Casks/virtualbox422492790.rb b/Casks/virtualbox422492790.rb index 33b7fb542..4236f2335 100644 --- a/Casks/virtualbox422492790.rb +++ b/Casks/virtualbox422492790.rb @@ -2,7 +2,7 @@ cask :v1 => 'virtualbox422492790' do version '4.2.24-92790' sha256 '46b422e62118a75519d24b7a0dd3a84081da3827734b25e1ee121eed5c0b6af9' - url "http://download.virtualbox.org/virtualbox/4.2.24/VirtualBox-#{version}-OSX.dmg" + url "http://download.virtualbox.org/virtualbox/#{version.split('-')[0]}/VirtualBox-#{version}-OSX.dmg" homepage 'http://www.virtualbox.org' license :unknown diff --git a/Casks/virtualbox431293733.rb b/Casks/virtualbox431293733.rb index 0f117b701..18576f956 100644 --- a/Casks/virtualbox431293733.rb +++ b/Casks/virtualbox431293733.rb @@ -2,7 +2,7 @@ cask :v1 => 'virtualbox431293733' do version '4.3.12-93733' sha256 'a9d9e3b3217177bc175839747de663ba25886f71e97a9c35ad802f618f11e23e' - url "http://download.virtualbox.org/virtualbox/4.3.12/VirtualBox-#{version}-OSX.dmg" + url "http://download.virtualbox.org/virtualbox/#{version.split('-')[0]}/VirtualBox-#{version}-OSX.dmg" homepage 'http://www.virtualbox.org' license :unknown diff --git a/Casks/virtualbox432096996.rb b/Casks/virtualbox432096996.rb index f4ab294eb..7f7ef5a25 100644 --- a/Casks/virtualbox432096996.rb +++ b/Casks/virtualbox432096996.rb @@ -2,7 +2,7 @@ cask :v1 => 'virtualbox432096996' do version '4.3.20-96996' sha256 '744e77119a640a5974160213c9912568a3d88dbd06a2fc6b6970070941732705' - url "http://download.virtualbox.org/virtualbox/4.3.20/VirtualBox-#{version}-OSX.dmg" + url "http://download.virtualbox.org/virtualbox/#{version.split('-')[0]}/VirtualBox-#{version}-OSX.dmg" homepage 'http://www.virtualbox.org' license :unknown diff --git a/Casks/virtualbox43691406.rb b/Casks/virtualbox43691406.rb index 65e28d409..67da40b75 100644 --- a/Casks/virtualbox43691406.rb +++ b/Casks/virtualbox43691406.rb @@ -2,7 +2,7 @@ cask :v1 => 'virtualbox43691406' do version '4.3.6-91406' sha256 '60678b7cc7dc741b800cfc99c7ff73a185c548af877071eb82422f354e76bca2' - url "http://download.virtualbox.org/virtualbox/4.3.6/VirtualBox-#{version}-OSX.dmg" + url "http://download.virtualbox.org/virtualbox/#{version.split('-')[0]}/VirtualBox-#{version}-OSX.dmg" homepage 'http://www.virtualbox.org' license :unknown