Browse Source

Update installer script - 3 casks (#3613)

master
commitay 8 years ago
committed by Miccal Matthews
parent
commit
6b96fd11c9
  1. 6
      Casks/adobe-photoshop-cs6.rb
  2. 6
      Casks/anaconda2.rb
  3. 6
      Casks/miniconda2.rb

6
Casks/adobe-photoshop-cs6.rb

@ -11,8 +11,10 @@ cask 'adobe-photoshop-cs6' do
name 'Adobe Photoshop CS6' # name must match directory in dmg for later reference
homepage 'https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html'
installer script: "#{staged_path}/#{name.join}/Install.app/Contents/MacOS/Install",
args: ['--mode=silent', "--deploymentFile=#{staged_path}/#{name.join}/Deployment/en_US_Deployment.xml"]
installer script: {
executable: "#{staged_path}/#{name.join}/Install.app/Contents/MacOS/Install",
args: ['--mode=silent', "--deploymentFile=#{staged_path}/#{name.join}/Deployment/en_US_Deployment.xml"],
}
preflight do
system_command '/usr/bin/killall',

6
Casks/anaconda2.rb

@ -9,8 +9,10 @@ cask 'anaconda2' do
depends_on macos: '>= :lion'
container type: :naked
installer script: "Anaconda2-#{version}-MacOSX-x86_64.sh",
args: ['-b']
installer script: {
executable: "Anaconda2-#{version}-MacOSX-x86_64.sh",
args: ['-b'],
}
preflight do
set_permissions "#{staged_path}/Anaconda2-#{version}-MacOSX-x86_64.sh", '+x'

6
Casks/miniconda2.rb

@ -10,8 +10,10 @@ cask 'miniconda2' do
depends_on macos: '>= :lion'
container type: :naked
installer script: 'Miniconda2-latest-MacOSX-x86_64.sh',
args: ['-b']
installer script: {
executable: 'Miniconda2-latest-MacOSX-x86_64.sh',
args: ['-b'],
}
uninstall delete: '~/miniconda2'

Loading…
Cancel
Save