From 17135a7ec9a30a5137ee790e1a1a36b54b4233b6 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Fri, 9 Sep 2016 04:18:27 +0200 Subject: [PATCH] Thunderbird Beta: Use system language. --- Casks/thunderbird-beta-ru.rb | 11 ----------- Casks/thunderbird-beta-uk.rb | 11 ----------- Casks/thunderbird-beta.rb | 18 ++++++++++++++++-- 3 files changed, 16 insertions(+), 24 deletions(-) delete mode 100644 Casks/thunderbird-beta-ru.rb delete mode 100644 Casks/thunderbird-beta-uk.rb diff --git a/Casks/thunderbird-beta-ru.rb b/Casks/thunderbird-beta-ru.rb deleted file mode 100644 index e9e429dc4..000000000 --- a/Casks/thunderbird-beta-ru.rb +++ /dev/null @@ -1,11 +0,0 @@ -cask 'thunderbird-beta-ru' do - version '47.0b2' - sha256 '66fe6a6369c4fa31b4e3eb84967969e194b24c401050d6a3c89a3876ac2c491b' - - url "https://download.mozilla.org/?product=thunderbird-#{version}&os=osx&lang=ru" - name 'Mozilla Thunderbird' - homepage 'https://www.mozilla.org/en-US/thunderbird/all-beta.html' - license :mpl - - app 'Thunderbird.app' -end diff --git a/Casks/thunderbird-beta-uk.rb b/Casks/thunderbird-beta-uk.rb deleted file mode 100644 index 9f15f93c2..000000000 --- a/Casks/thunderbird-beta-uk.rb +++ /dev/null @@ -1,11 +0,0 @@ -cask 'thunderbird-beta-uk' do - version '47.0b2' - sha256 'aab26ebb9f1d4f16ca77f5f1651d8e739372e11922be916acb314ce25156a38e' - - url "https://download.mozilla.org/?product=thunderbird-#{version}&os=osx&lang=uk" - name 'Mozilla Thunderbird' - homepage 'https://www.mozilla.org/en-US/thunderbird/all-beta.html' - license :mpl - - app 'Thunderbird.app' -end diff --git a/Casks/thunderbird-beta.rb b/Casks/thunderbird-beta.rb index 3c97eb3f7..342d77ab8 100644 --- a/Casks/thunderbird-beta.rb +++ b/Casks/thunderbird-beta.rb @@ -1,8 +1,22 @@ cask 'thunderbird-beta' do version '49.0b1' - sha256 '7edbe8645f4c14fc9fa40646353db96009b5bfa726179bd655568ff7e172874f' - url "https://download.mozilla.org/?product=thunderbird-#{version}&os=osx&lang=en-US" + language 'en', default: true do + sha256 '7edbe8645f4c14fc9fa40646353db96009b5bfa726179bd655568ff7e172874f' + 'en-US' + end + + language 'ru' do + sha256 '7fb61dd169418bc832758fb2b5f4c5a0fd033fbd17fb53e8f7e2a0f5301ba557' + 'ru' + end + + language 'uk' do + sha256 'e25269f3776be5d46b4b60ff7c683f2694b8285392f1c686d4592015373491df' + 'uk' + 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