Skip to content

Commit

Permalink
Merge pull request #16139 from WangEdward/master
Browse files Browse the repository at this point in the history
fix: ignore quarantine for linux cask download
  • Loading branch information
MikeMcQuaid committed Oct 25, 2023
2 parents 141ac15 + f21af1e commit fa56f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cask/quarantine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def self.swift_target_args
def self.check_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."
:xattr_broken
elsif swift.nil?
Expand Down

0 comments on commit fa56f72

Please sign in to comment.