diff --git a/Casks/safari-technology-preview.rb b/Casks/safari-technology-preview.rb index 5599ebc3e..271562301 100644 --- a/Casks/safari-technology-preview.rb +++ b/Casks/safari-technology-preview.rb @@ -2,9 +2,13 @@ cask 'safari-technology-preview' do version :latest sha256 :no_check - url 'http://appldnld.apple.com/STP/SafariTechnologyPreview.dmg' + if MacOS.version <= :el_capitan + url 'http://appldnld.apple.com/STP/031-81900-20160926-E7046BDA-8434-11E6-83C5-ADC333D2D062/SafariTechnologyPreview.dmg' + else + url 'http://appldnld.apple.com/STP/031-81899-20160926-E7046BC6-8434-11E6-83C5-ACC333D2D062/SafariTechnologyPreview.dmg' + end name 'Safari Technology Preview' - homepage 'https://developer.apple.com/safari/technology-preview/' + homepage 'https://developer.apple.com/safari/download/' license :gratis pkg 'Safari Technology Preview.pkg'