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'
|
2015-12-26 12:46:37 +08:00
|
|
|
homepage 'https://toolbelt.treasuredata.com/'
|
2016-01-04 03:19:40 +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
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
container type: :naked
|
2016-01-04 03:19:40 +08:00
|
|
|
|
2016-01-04 17:06:21 +08:00
|
|
|
pkg 'td-toolbelt.pkg'
|
|
|
|
|
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
|
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
uninstall pkgutil: 'com.td.toolbelt'
|
2016-01-04 03:19:40 +08:00
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
zap pkgutil: 'org.ruby-lang.installer'
|
2014-08-15 11:59:07 +08:00
|
|
|
end
|