Skip to content

Commit

Permalink
Update Ubuntu's download link (Homebrew#1384)
Browse files Browse the repository at this point in the history
* Update Ubuntu's download link

Previous link was 302 redirect to a webpage, breaking the installation.

* font-ubuntu
  • Loading branch information
mcdado authored and commitay committed Dec 1, 2017
1 parent b7d32fa commit be157e0
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions Casks/font-ubuntu.rb
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
cask 'font-ubuntu' do
version '0.83'
version '0.83,fad7939b'
sha256 '456d7d42797febd0d7d4cf1b782a2e03680bb4a5ee43cc9d06bda172bac05b42'

url "http://font.ubuntu.com/download/ubuntu-font-family-#{version}.zip"
url "https://assets.ubuntu.com/v1/#{version.after_comma}-ubuntu-font-family-#{version.before_comma}.zip"
name 'Ubuntu'
homepage 'http://font.ubuntu.com/'

font "ubuntu-font-family-#{version}/Ubuntu-B.ttf"
font "ubuntu-font-family-#{version}/Ubuntu-BI.ttf"
font "ubuntu-font-family-#{version}/Ubuntu-C.ttf"
font "ubuntu-font-family-#{version}/Ubuntu-L.ttf"
font "ubuntu-font-family-#{version}/Ubuntu-LI.ttf"
font "ubuntu-font-family-#{version}/Ubuntu-M.ttf"
font "ubuntu-font-family-#{version}/Ubuntu-MI.ttf"
font "ubuntu-font-family-#{version}/Ubuntu-R.ttf"
font "ubuntu-font-family-#{version}/Ubuntu-RI.ttf"
font "ubuntu-font-family-#{version}/UbuntuMono-B.ttf"
font "ubuntu-font-family-#{version}/UbuntuMono-BI.ttf"
font "ubuntu-font-family-#{version}/UbuntuMono-R.ttf"
font "ubuntu-font-family-#{version}/UbuntuMono-RI.ttf"
font "ubuntu-font-family-#{version.before_comma}/Ubuntu-B.ttf"
font "ubuntu-font-family-#{version.before_comma}/Ubuntu-BI.ttf"
font "ubuntu-font-family-#{version.before_comma}/Ubuntu-C.ttf"
font "ubuntu-font-family-#{version.before_comma}/Ubuntu-L.ttf"
font "ubuntu-font-family-#{version.before_comma}/Ubuntu-LI.ttf"
font "ubuntu-font-family-#{version.before_comma}/Ubuntu-M.ttf"
font "ubuntu-font-family-#{version.before_comma}/Ubuntu-MI.ttf"
font "ubuntu-font-family-#{version.before_comma}/Ubuntu-R.ttf"
font "ubuntu-font-family-#{version.before_comma}/Ubuntu-RI.ttf"
font "ubuntu-font-family-#{version.before_comma}/UbuntuMono-B.ttf"
font "ubuntu-font-family-#{version.before_comma}/UbuntuMono-BI.ttf"
font "ubuntu-font-family-#{version.before_comma}/UbuntuMono-R.ttf"
font "ubuntu-font-family-#{version.before_comma}/UbuntuMono-RI.ttf"
end

0 comments on commit be157e0

Please sign in to comment.