Update VCV Rack.munki.recipe
Amended to use the .download as parent and to look at app installed on disk and pkg.
<key>MinimumVersion</key>
<string>1.0.0</string>
<key>ParentRecipe</key>
- <string>com.github.neilmartin83.pkg.VCVRack</string>
+ <string>com.github.neilmartin83.download.VCVRack</string>
<key>Process</key>
<array>
<dict>
+ <key>Processor</key>
+ <string>MunkiInstallsItemsCreator</string>
+ <key>Arguments</key>
+ <dict>
+ <key>faux_root</key>
+ <string>%RECIPE_CACHE_DIR%/</string>
+ <key>version_comparison_key</key>
+ <string>CFBundleShortVersionString</string>
+ <key>installs_item_paths</key>
+ <array>
+ <string>/Applications/Rack.app</string>
+ </array>
+ </dict>
+ </dict>
+ <dict>
+ <key>Processor</key>
+ <string>MunkiPkginfoMerger</string>
+ </dict>
+ <dict>
+ <key>Processor</key>
+ <string>DmgCreator</string>
+ <key>Arguments</key>
+ <dict>
+ <key>dmg_root</key>
+ <string>%destination_path%</string>
+ <key>dmg_path</key>
+ <string>%RECIPE_CACHE_DIR%/%NAME%.dmg</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>Processor</key>
+ <string>MunkiImporter</string>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
- <string>%pkg_path%</string>
+ <string>%dmg_path%</string>
<key>repo_subdirectory</key>
<string>%MUNKI_REPO_SUBDIR%</string>
</dict>
+ </dict>
+ <dict>
<key>Processor</key>
- <string>MunkiImporter</string>
+ <string>PathDeleter</string>
+ <key>Arguments</key>
+ <dict>
+ <key>path_list</key>
+ <array>
+ <string>%destination_path%</string>
+ </array>
+ </dict>
</dict>
</array>
</dict>
