diff --git a/Library/Homebrew/cask/artifact/abstract_artifact.rb b/Library/Homebrew/cask/artifact/abstract_artifact.rb index fac91f0b49..5f82ecbb08 100644 --- a/Library/Homebrew/cask/artifact/abstract_artifact.rb +++ b/Library/Homebrew/cask/artifact/abstract_artifact.rb @@ -50,6 +50,11 @@ module Cask # depend on other artifacts still being installed. Uninstall, 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, Suite, @@ -67,9 +72,6 @@ module Cask Vst3Plugin, ScreenSaver, ], - # `pkg` should be run before `binary`, so - # targets are created prior to linking. - Pkg, Binary, Manpage, PostflightBlock,