You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

31 lines
1.1 KiB

cask 'virtualbox-extension-pack-beta' do
version '5.1.10,112026'
sha256 '3982657fd4853bcbc79b9162e618545a479b65aca08e9ced43a904aeeba3ffa5'
url "http://download.virtualbox.org/virtualbox/#{version.before_comma}/Oracle_VM_VirtualBox_Extension_Pack-#{version.before_comma}-#{version.after_comma}.vbox-extpack"
name 'Oracle VirtualBox Extension Pack'
homepage 'https://www.virtualbox.org/'
depends_on cask: 'virtualbox-beta'
container type: :naked
stage_only true
postflight do
system_command '/usr/local/bin/VBoxManage',
args: [
'extpack', 'install',
'--replace', "#{staged_path}/Oracle_VM_VirtualBox_Extension_Pack-#{version.before_comma}-#{version.after_comma}.vbox-extpack"
],
sudo: true
end
uninstall_postflight do
system_command '/usr/local/bin/VBoxManage',
args: [
'extpack', 'uninstall',
'Oracle VM VirtualBox Extension Pack'
],
sudo: true
end
end