We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6b1d42 + 2acd4e4 commit 984273bCopy full SHA for 984273b
1 file changed
Library/Homebrew/diagnostic.rb
@@ -1009,6 +1009,8 @@ def check_cask_environment_variables
1009
end
1010
1011
def check_cask_xattr
1012
+ return "Unable to find `xattr`." unless File.exist?("/usr/bin/xattr")
1013
+
1014
result = system_command "/usr/bin/xattr", args: ["-h"]
1015
1016
return if result.status.success?
@@ -1044,6 +1046,8 @@ def check_cask_quarantine_support
1044
1046
"No Cask quarantine support available: there's no working version of `xattr` on this system."
1045
1047
when :no_swift
1048
"No Cask quarantine support available: there's no available version of `swift` on this system."
1049
+ when :linux
1050
+ "No Cask quarantine support available: not available on Linux."
1051
else
1052
"No Cask quarantine support available: unknown reason."
1053
0 commit comments