From 54ab3dd7c4328ad424f3fd50b912d430ffb03452 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Thu, 24 Oct 2019 14:55:38 +0200 Subject: [PATCH] Install `pkg` before `app`. --- Library/Homebrew/cask/artifact/abstract_artifact.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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,