cvt to :delete r
This commit is contained in:
parent
5227c0d66a
commit
2f8c147277
28
Casks/r.rb
28
Casks/r.rb
|
@ -17,18 +17,18 @@ class R < Cask
|
|||
# eg org.r-project.x86_64.tcltk.x11
|
||||
'org.r-project\..*\.tcltk.x11',
|
||||
],
|
||||
:files => [
|
||||
# symlinks
|
||||
'/usr/bin/R',
|
||||
'/usr/bin/Rscript',
|
||||
'/Library/Frameworks/R.Framework/Versions/Current',
|
||||
# :pkgutil won't delete this dir if the fontconfig cache was written to at
|
||||
# /Library/Frameworks/R.Framework/Versions/3.1/Resources/fontconfig/cache
|
||||
'/Library/Frameworks/R.Framework/Versions/3.1',
|
||||
]
|
||||
zap :files => [
|
||||
'~/.R',
|
||||
'~/.Rhistory',
|
||||
'~/.Rprofile',
|
||||
]
|
||||
:delete => [
|
||||
# symlinks
|
||||
'/usr/bin/R',
|
||||
'/usr/bin/Rscript',
|
||||
'/Library/Frameworks/R.Framework/Versions/Current',
|
||||
# :pkgutil won't delete this dir if the fontconfig cache was written to at
|
||||
# /Library/Frameworks/R.Framework/Versions/3.1/Resources/fontconfig/cache
|
||||
'/Library/Frameworks/R.Framework/Versions/3.1',
|
||||
]
|
||||
zap :delete => [
|
||||
'~/.R',
|
||||
'~/.Rhistory',
|
||||
'~/.Rprofile',
|
||||
]
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue