Browse Source

Fix style. (#4111)

* Fix style.

* update uninstall signal - adobe-photoshop-cs6
master
Markus Reiter 8 years ago
committed by GitHub
parent
commit
0f0fb5d1d2
  1. 4
      Casks/adobe-air-beta.rb
  2. 2
      Casks/adobe-photoshop-cs6.rb
  3. 2
      Casks/gpgtools-beta.rb
  4. 12
      Casks/lilypond-dev.rb
  5. 2
      Casks/totalfinder-beta.rb
  6. 2
      Casks/virtualbox-beta.rb

4
Casks/adobe-air-beta.rb

@ -9,13 +9,13 @@ cask 'adobe-air-beta' do
installer script: {
executable: 'Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer',
args: %w[-silent],
args: ['-silent'],
sudo: true,
}
uninstall script: {
executable: 'Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer',
args: %w[-uninstall],
args: ['-uninstall'],
sudo: true,
},
rmdir: [

2
Casks/adobe-photoshop-cs6.rb

@ -29,7 +29,7 @@ cask 'adobe-photoshop-cs6' do
uninstall_file.close
end
uninstall signal: [%w[KILL SafariNotificationAgent]],
uninstall signal: ['KILL', 'SafariNotificationAgent'],
script: {
executable: "#{name.join}/Install.app/Contents/MacOS/Install",
args: ['--mode=silent', "--deploymentFile=#{staged_path}/#{name.join}/Deployment/en_US_Uninstall.xml"],

2
Casks/gpgtools-beta.rb

@ -14,7 +14,7 @@ cask 'gpgtools-beta' do
pkg 'Install.pkg'
uninstall_postflight do
%w[gpg gpg2 gpg-agent].map { |exec_name| "/usr/local/bin/#{exec_name}" }.each do |exec|
['gpg', 'gpg2', 'gpg-agent'].map { |exec_name| "/usr/local/bin/#{exec_name}" }.each do |exec|
File.rm(exec) if File.exist?(exec) && File.readlink(exec).include?('MacGPG2')
end
end

12
Casks/lilypond-dev.rb

@ -9,12 +9,12 @@ cask 'lilypond-dev' do
app 'LilyPond.app'
binaries = %w[
abc2ly
convert-ly
lilypond
lilypond-book
musicxml2ly
binaries = [
'abc2ly',
'convert-ly',
'lilypond',
'lilypond-book',
'musicxml2ly',
]
binaries.each do |shimscript|

2
Casks/totalfinder-beta.rb

@ -13,6 +13,6 @@ cask 'totalfinder-beta' do
uninstall pkgutil: 'com.binaryage.pkg.totalfinder.app',
script: {
executable: 'TotalFinder Uninstaller.app/Contents/MacOS/TotalFinder Uninstaller',
args: %w[--headless],
args: ['--headless'],
}
end

2
Casks/virtualbox-beta.rb

@ -18,7 +18,7 @@ cask 'virtualbox-beta' do
uninstall script: {
executable: 'VirtualBox_Uninstall.tool',
args: %w[--unattended],
args: ['--unattended'],
sudo: true,
},
pkgutil: 'org.virtualbox.pkg.*'

Loading…
Cancel
Save