mirror of
https://github.com/lukaszraczylo/homebrew-taps.git
synced 2026-10-12 00:45:10 +00:00
fix(casks): rewrite postflight to postflight_steps
This commit is contained in:
+3
-4
@@ -33,10 +33,9 @@ cask "readitall" do
|
|||||||
|
|
||||||
binary "readitall"
|
binary "readitall"
|
||||||
|
|
||||||
postflight do
|
postflight_steps do
|
||||||
if OS.mac?
|
on_macos do
|
||||||
system_command "/usr/bin/xattr",
|
run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{staged_path}}/readitall"]
|
||||||
args: ["-dr", "com.apple.quarantine", "#{staged_path}/readitall"]
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user