Update subutaicontrolcenter to 7.2.2 (#54284)

* Update subutaicontrolcenter to 7.2.2

* Update subutaicontrolcenter.rb

* Update subutaicontrolcenter.rb

* Let me see what’s Travis message

* Update subutaicontrolcenter.rb

* Update subutaicontrolcenter.rb

* Update subutaicontrolcenter.rb
This commit is contained in:
CoreCode 2018-11-18 14:51:33 -04:00 committed by Vítor Galvão
parent 11b2cb4275
commit 7d2d87e5ff
1 changed files with 4 additions and 5 deletions

View File

@ -1,9 +1,8 @@
cask 'subutaicontrolcenter' do
version '7.1.5'
sha256 '17e043558ea478fdab9b6b497a76412bbe58fb97efd43fabf0e894e74e6bdf97'
version '7.2.2'
sha256 'd0c0801ed6978cfb5ed8a20d0cafdf73cc066589306781be5bfe05c56bcd2d2a'
# cdn.subutai.io:8338/kurjun/rest/raw was verified as official when first introduced to the cask
url 'https://cdn.subutai.io:8338/kurjun/rest/raw/get?name=subutai-control-center.pkg'
url 'https://bazaar.subutai.io/rest/v1/cdn/raw?name=subutai-control-center.pkg&latest&download'
appcast 'https://github.com/subutai-io/control-center/releases.atom'
name 'Subutai Control Center'
homepage 'https://subutai.io/'
@ -15,7 +14,7 @@ cask 'subutaicontrolcenter' do
# This is a horrible hack to force the file extension.
# The backend code should be fixed so that this is not needed.
preflight do
system_command '/bin/mv', args: ['--', staged_path.join('get'), staged_path.join('subutai-control-center.pkg')]
system_command '/bin/mv', args: ['--', staged_path.join('raw'), staged_path.join('subutai-control-center.pkg')]
end
uninstall pkgutil: 'com.Subutai.Control.Center',