Update Csound.munki.recipe
updated as pkg can be used now from vendor
<string>%NAME%</string>
<key>unattended_install</key>
<true/>
+ <key>unattended_uninstall</key>
+ <true/>
</dict>
</dict>
<key>MinimumVersion</key>
<string>0.6.1</string>
<key>ParentRecipe</key>
- <string>com.github.dataJAR-recipes.pkg.Csound</string>
+ <string>com.github.dataJAR-recipes.download.Csound</string>
<key>Process</key>
<array>
- <dict>
- <key>Arguments</key>
- <dict>
- <key>destination_path</key>
- <string>%RECIPE_CACHE_DIR%/unpack/</string>
- <key>flat_pkg_path</key>
- <string>%pkg_path%</string>
- <key>purge_destination</key>
- <string>true</string>
- </dict>
- <key>Processor</key>
- <string>FlatPkgUnpacker</string>
- </dict>
- <dict>
- <key>Arguments</key>
- <dict>
- <key>destination_path</key>
- <string>%RECIPE_CACHE_DIR%/payload/</string>
- <key>pkg_payload_path</key>
- <string>%RECIPE_CACHE_DIR%/unpack/CsoundApps64.pkg/Payload</string>
- <key>purge_destination</key>
- <string>true</string>
- </dict>
- <key>Processor</key>
- <string>PkgPayloadUnpacker</string>
- </dict>
- <dict>
- <key>Processor</key>
- <string>MunkiInstallsItemsCreator</string>
- <key>Arguments</key>
- <dict>
- <key>faux_root</key>
- <string>%RECIPE_CACHE_DIR%/payload/</string>
- <key>installs_item_paths</key>
- <array>
- <string>/usr/local/bin/csound</string>
- </array>
- </dict>
- </dict>
- <dict>
- <key>Processor</key>
- <string>MunkiPkginfoMerger</string>
- </dict>
- <dict>
- <key>Processor</key>
- <string>MunkiPkginfoMerger</string>
- <key>Arguments</key>
- <dict>
- <key>additional_pkginfo</key>
- <dict>
- <key>version</key>
- <string>%version%</string>
- <key>receipts</key>
- <array>
- <dict>
- <key>packageid</key>
- <string>com.csound.csound6Environment.csoundApps64</string>
- <key>version</key>
- <string>%version%</string>
- </dict>
- <dict>
- <key>packageid</key>
- <string>com.csound.csound6Environment.csoundLib64</string>
- <key>version</key>
- <string>%version%</string>
- </dict>
- </array>
- </dict>
- </dict>
- </dict>
<dict>
<key>Processor</key>
<string>MunkiImporter</string>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
- <string>%pkg_path%</string>
+ <string>%pathname%</string>
<key>repo_subdirectory</key>
<string>%MUNKI_REPO_SUBDIR%</string>
</dict>
