2015-12-18 09:15:28 +08:00
|
|
|
cask 'td-toolbelt' do
|
2014-09-17 19:43:04 +08:00
|
|
|
version :latest
|
2014-08-15 11:59:07 +08:00
|
|
|
sha256 :no_check
|
|
|
|
|
|
|
|
url 'http://toolbelt.treasuredata.com/mac'
|
2015-05-05 04:22:34 +08:00
|
|
|
name 'Treasure Data Toolbelt'
|
2014-08-15 11:59:07 +08:00
|
|
|
homepage 'http://toolbelt.treasuredata.com/'
|
2014-12-20 21:47:24 +08:00
|
|
|
license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
|
2014-08-15 11:59:07 +08:00
|
|
|
|
2014-10-03 22:42:41 +08:00
|
|
|
container :type => :naked
|
2014-09-09 20:55:28 +08:00
|
|
|
preflight do
|
2014-11-21 22:37:56 +08:00
|
|
|
system '/bin/mv', '--', "#{staged_path}/mac", "#{staged_path}/td-toolbelt.pkg"
|
2014-08-15 11:59:07 +08:00
|
|
|
end
|
|
|
|
|
2014-09-10 23:37:07 +08:00
|
|
|
pkg 'td-toolbelt.pkg'
|
2014-11-22 22:12:46 +08:00
|
|
|
|
2014-08-19 22:34:37 +08:00
|
|
|
uninstall :pkgutil => 'com.td.toolbelt'
|
2015-01-27 08:27:50 +08:00
|
|
|
zap :pkgutil => 'org.ruby-lang.installer'
|
2014-08-15 11:59:07 +08:00
|
|
|
end
|