python.rb: RuboCop (master), RuboCop-cask (master) auto-correct
This commit is contained in:
parent
d17323b55e
commit
6a0c3cb4f6
|
@ -10,11 +10,11 @@ cask 'python' do
|
|||
pkg "python-#{version}-macosx10.6.pkg"
|
||||
|
||||
uninstall :delete => [
|
||||
"/Library/Receipts/Python*-#{version.slice(/\d+\.\d+/)}.pkg",
|
||||
"/Applications/Python #{version.slice(/\d+\.\d+/)}",
|
||||
"/Library/Frameworks/Python.Framework/Versions/#{version.slice(/\d+\.\d+/)}",
|
||||
"/Library/Python/#{version.slice(/\d+\.\d+/)}",
|
||||
"/Library/Receipts/Python*-#{version.slice(%r{\d+\.\d+})}.pkg",
|
||||
"/Applications/Python #{version.slice(%r{\d+\.\d+})}",
|
||||
"/Library/Frameworks/Python.Framework/Versions/#{version.slice(%r{\d+\.\d+})}",
|
||||
"/Library/Python/#{version.slice(%r{\d+\.\d+})}",
|
||||
]
|
||||
|
||||
zap :delete => "~/Library/Python/#{version.slice(/\d+\.\d+/)}"
|
||||
zap :delete => "~/Library/Python/#{version.slice(%r{\d+\.\d+})}"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue