Commit 7d2183b
authored
Fix cog cask postflight xattr path to use actual binary name (#32)
The postflight block referenced staged_path/cog, but the downloaded
binary retains its original name (cog_Darwin_arm64 or cog_Darwin_x86_64)
in the staged directory. The binary stanza only creates a symlink with
the target name, it does not rename the source file.
This caused 'xattr -dr com.apple.quarantine' to fail with
'No such file' on every install.1 parent 5217f80 commit 7d2183b
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
0 commit comments