From 89a04a49e95f4ba9f7ce9ec0bd67874050738d44 Mon Sep 17 00:00:00 2001 From: ickc Date: Sun, 2 Oct 2016 00:59:58 -0700 Subject: [PATCH] Update Safari technology preview (#2696) --- Casks/safari-technology-preview.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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'