Browse Source

Merge pull request #428 from rolandwalker/mass_change_uninstall_delete

Mass Cask change to use `uninstall :delete`
master
Roland Walker 10 years ago
parent
commit
5364353fa3
  1. 2
      Casks/java7.rb
  2. 4
      Casks/netbeans-php-nightly.rb
  3. 2
      Casks/quicktime-player7.rb
  4. 2
      Casks/soundflower-ultraschall.rb

2
Casks/java7.rb

@ -28,7 +28,7 @@ class Java7 < Cask
'/bin/ln', '-nsf', '--', "/Library/Java/JavaVirtualMachines/jdk#{version}.jdk/Contents/Home/jre/lib/server/libjvm.dylib", "/Library/Java/JavaVirtualMachines/jdk#{version}.jdk/Contents/Home/bundle/Libraries/libserver.dylib"
end
uninstall :pkgutil => 'com.oracle.jdk7u67',
:files => '/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK'
:delete => '/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK'
caveats <<-EOS.undent
This Cask makes minor modifications to the JRE to prevent any packaged
application issues.

4
Casks/netbeans-php-nightly.rb

@ -6,7 +6,5 @@ class NetbeansPhpNightly < Cask
url "http://bits.netbeans.org/download/trunk/nightly/latest/bundles/netbeans-trunk-nightly-#{version}-php-macosx.dmg"
pkg "NetBeans Dev #{version}.mpkg"
uninstall :files => [
'/Applications/NetBeans'
]
uninstall :delete => '/Applications/NetBeans'
end

2
Casks/quicktime-player7.rb

@ -7,5 +7,5 @@ class QuicktimePlayer7 < Cask
pkg 'QuickTimePlayer7.6.6_SnowLeopard.pkg'
uninstall :pkgutil => 'com.apple.pkg.QuickTimePlayer7.6.6_SnowLeopard',
:files => '/Applications/Utilities/QuickTime Player 7.app'
:delete => '/Applications/Utilities/QuickTime Player 7.app'
end

2
Casks/soundflower-ultraschall.rb

@ -7,5 +7,5 @@ class SoundflowerUltraschall < Cask
pkg 'Soundflower.pkg', :allow_untrusted => true
uninstall :pkgutil => 'com.cycling74.soundflower*',
:files => '/Applications/Soundflower'
:delete => '/Applications/Soundflower'
end

Loading…
Cancel
Save