Merge pull request #16139 from WangEdward/master
fix: ignore quarantine for linux cask download
This commit is contained in:
commit
fa56f723b1
@ -33,7 +33,7 @@ module Cask
|
|||||||
def self.check_quarantine_support
|
def self.check_quarantine_support
|
||||||
odebug "Checking quarantine support"
|
odebug "Checking quarantine support"
|
||||||
|
|
||||||
if !system_command(xattr, args: ["-h"], print_stderr: false).success?
|
if xattr.nil? || !system_command(xattr, args: ["-h"], print_stderr: false).success?
|
||||||
odebug "There's no working version of `xattr` on this system."
|
odebug "There's no working version of `xattr` on this system."
|
||||||
:xattr_broken
|
:xattr_broken
|
||||||
elsif swift.nil?
|
elsif swift.nil?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user