18 lines
433 B
Ruby
18 lines
433 B
Ruby
class TdToolbelt < Cask
|
|
version :latest
|
|
sha256 :no_check
|
|
|
|
url 'http://toolbelt.treasuredata.com/mac'
|
|
homepage 'http://toolbelt.treasuredata.com/'
|
|
license :unknown
|
|
|
|
container :type => :naked
|
|
preflight do
|
|
system '/bin/mv', '--', "#{destination_path}/mac", "#{destination_path}/td-toolbelt.pkg"
|
|
end
|
|
|
|
pkg 'td-toolbelt.pkg'
|
|
uninstall :pkgutil => 'com.td.toolbelt'
|
|
# zap :pkgutil => 'org.ruby-lang.installer'
|
|
end
|