mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-11 22:06:11 -06:00
Update dotnet-preview.rb
This commit is contained in:
parent
1468f176b8
commit
d088e99eb2
1 changed files with 8 additions and 3 deletions
|
|
@ -7,12 +7,17 @@ cask 'dotnet-preview' do
|
|||
name '.Net Core Runtime'
|
||||
homepage 'https://www.microsoft.com/net/core#macos'
|
||||
|
||||
conflicts_with cask: [
|
||||
'dotnet',
|
||||
'dotnet-sdk',
|
||||
'dotnet-sdk-preview',
|
||||
]
|
||||
depends_on macos: '>= :sierra'
|
||||
|
||||
pkg "dotnet-runtime-#{version}-osx-x64.pkg"
|
||||
|
||||
uninstall pkgutil: "com.microsoft.dotnet.*#{version.major_minor}*"
|
||||
uninstall pkgutil: 'com.microsoft.dotnet.*',
|
||||
delete: '/etc/paths.d/dotnet'
|
||||
|
||||
zap delete: '/etc/paths.d/dotnet',
|
||||
trash: '~/.nuget'
|
||||
zap trash: '~/.nuget'
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue