fix: ignore quarantine for linux cask download
This commit is contained in:
parent
141ac157fd
commit
d2c15d04a1
@ -114,3 +114,5 @@ module Cask
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
require "extend/os/cask/download"
|
||||||
|
|||||||
4
Library/Homebrew/extend/os/cask/download.rb
Normal file
4
Library/Homebrew/extend/os/cask/download.rb
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# typed: true
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require "extend/os/linux/cask/download" if OS.linux?
|
||||||
13
Library/Homebrew/extend/os/linux/cask/download.rb
Normal file
13
Library/Homebrew/extend/os/linux/cask/download.rb
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# typed: true
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
module Cask
|
||||||
|
class Download
|
||||||
|
undef quarantine
|
||||||
|
|
||||||
|
def quarantine(_path)
|
||||||
|
opoo "Cannot quarantine download: No xattr available on linux." if @quarantine
|
||||||
|
nil
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
Loading…
x
Reference in New Issue
Block a user