Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Thunderbird Beta: Use system language.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Sep 11, 2016
1 parent 3414236 commit 2cc5d7a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 24 deletions.
11 changes: 0 additions & 11 deletions Casks/thunderbird-beta-ru.rb

This file was deleted.

11 changes: 0 additions & 11 deletions Casks/thunderbird-beta-uk.rb

This file was deleted.

15 changes: 13 additions & 2 deletions Casks/thunderbird-beta.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
cask 'thunderbird-beta' do
version '49.0b1'
sha256 '7edbe8645f4c14fc9fa40646353db96009b5bfa726179bd655568ff7e172874f'

url "https://download.mozilla.org/?product=thunderbird-#{version}&os=osx&lang=en-US"
language = case MacOS.language
when %r{^ru}
sha256 '7fb61dd169418bc832758fb2b5f4c5a0fd033fbd17fb53e8f7e2a0f5301ba557'
'ru'
when %r{^uk}
sha256 'e25269f3776be5d46b4b60ff7c683f2694b8285392f1c686d4592015373491df'
'uk'
else
sha256 '7edbe8645f4c14fc9fa40646353db96009b5bfa726179bd655568ff7e172874f'
'en-US'
end

url "https://ftp.mozilla.org/pub/thunderbird/releases/#{version}/mac/#{language}/Thunderbird%20#{version}.dmg"
name 'Mozilla Thunderbird'
homepage 'https://www.mozilla.org/en-US/thunderbird/all-beta.html'
license :mpl
Expand Down

0 comments on commit 2cc5d7a

Please sign in to comment.