Skip to content
Snippets Groups Projects
Unverified Commit 9a857ccf authored by Markus Reiter's avatar Markus Reiter Committed by GitHub
Browse files

Merge pull request #6596 from reitermarkus/dmg

Fix `Dmg` detection.
parents d0c3885f cc234d19
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ module UnpackStrategy
end
def self.can_extract?(path)
stdout, _, status = system_command("hdiutil", args: ["imageinfo", path], print_stderr: false)
stdout, _, status = system_command("hdiutil", args: ["imageinfo", "-format", path], print_stderr: false)
status.success? && !stdout.empty?
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment