Install pkg before app.

This commit is contained in:
Markus Reiter 2019-10-24 14:55:38 +02:00
parent e6cfb4a3c2
commit 54ab3dd7c4

View File

@ -50,6 +50,11 @@ module Cask
# depend on other artifacts still being installed. # depend on other artifacts still being installed.
Uninstall, Uninstall,
Installer, Installer,
# `pkg` should be run before `binary`, so
# targets are created prior to linking.
# `pkg` should be run before `app`, since an `app` could
# contain a nested installer (e.g. `wireshark`).
Pkg,
[ [
App, App,
Suite, Suite,
@ -67,9 +72,6 @@ module Cask
Vst3Plugin, Vst3Plugin,
ScreenSaver, ScreenSaver,
], ],
# `pkg` should be run before `binary`, so
# targets are created prior to linking.
Pkg,
Binary, Binary,
Manpage, Manpage,
PostflightBlock, PostflightBlock,