zap/uninstall :files in netbeans.rb
This commit is contained in:
parent
5cef8fa83a
commit
8a1e3ef4c7
|
@ -19,11 +19,12 @@ class Netbeans < Cask
|
|||
# receipts database that would be a bug upstream with NetBeans not prefixing
|
||||
# its GlassFish package with "org.netbeans."
|
||||
#
|
||||
# If this ever becomes an issue, :pkgutil => 'glassfish-.*' could be moved
|
||||
# to a separate "zap" stanza.
|
||||
#
|
||||
# The NetBeans installer does some postflight unpacking of paths installed by
|
||||
# the OS X installer, so it's insufficient to just delete the paths exposed
|
||||
# by pkgutil, hence the additional `:files` option below.
|
||||
uninstall :pkgutil => 'org.netbeans.ide.*|glassfish-.*',
|
||||
:files => [
|
||||
'/Applications/NetBeans'
|
||||
]
|
||||
:files => '/Applications/NetBeans'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue