diff --git a/Casks/basictex.rb b/Casks/basictex.rb index c1c3d4602faf..31607026ce94 100644 --- a/Casks/basictex.rb +++ b/Casks/basictex.rb @@ -1,6 +1,6 @@ cask "basictex" do - version "2020.0407" - sha256 "c6a27c95a8af3bc26121cc3be415f3fc7120ffaa4ff4c1a860a7fe9fe78ac31e" + version "2021.0325" + sha256 "0d8f7c39ac7a2a66b070775f0c684aab01a7fb3c075045c33cd19f9b29317d53" url "http://mirror.ctan.org/systems/mac/mactex/mactex-basictex-#{version.no_dots}.pkg", verified: "mirror.ctan.org/systems/mac/mactex/" @@ -9,7 +9,7 @@ homepage "https://www.tug.org/mactex/morepackages.html" livecheck do - url "http://mirror.ctan.org/systems/mac/mactex/" + url "https://ctan.org/texarchive/systems/mac/mactex/" strategy :page_match do |page| match = page.match(/href=.*?mactex-basictex-(\d{4})(\d{2})(\d{2})\.pkg/) "#{match[1]}.#{match[2]}#{match[3]}"