mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-16 22:06:43 -06:00
pre/postflight stanza in decitime
This commit is contained in:
parent
6df9a98c86
commit
035294d665
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ class Decitime < Cask
|
|||
|
||||
# fix wonky DMG by mounting it once read-write per discussion at
|
||||
# https://github.com/caskroom/homebrew-cask/pull/2654
|
||||
before_install do
|
||||
preflight do
|
||||
system %Q{/usr/bin/hdiutil eject "$(/usr/bin/hdiutil mount -readwrite -noidme -nobrowse -mountrandom /tmp #{destination_path.join(artifacts[:nested_container].first)} | /usr/bin/cut -f3 -- - | /usr/bin/grep -- '.' -)" >/dev/null 2>&1}
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue