Merge pull request #16139 from WangEdward/master

fix: ignore quarantine for linux cask download
This commit is contained in:
Mike McQuaid 2023-10-25 15:06:43 +01:00 committed by GitHub
commit fa56f723b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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?