Update Aircall.munki.recipe
Updated recipe to use .download as parent and to build installs based off of what is installed on disk
<key>MinimumVersion</key>
<string>0.5.0</string>
<key>ParentRecipe</key>
- <string>com.github.ahousseini-recipes.pkg.Aircall</string>
+ <string>com.github.ahousseini-recipes.download.Aircall</string>
<key>Process</key>
<array>
<dict>
+ <key>Processor</key>
+ <string>Copier</string>
+ <key>Arguments</key>
+ <dict>
+ <key>destination_path</key>
+ <string>%RECIPE_CACHE_DIR%/Applications/Aircall.app</string>
+ <key>overwrite</key>
+ <true/>
+ <key>source_path</key>
+ <string>%input_path%</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>Processor</key>
+ <string>MunkiInstallsItemsCreator</string>
+ <key>Arguments</key>
+ <dict>
+ <key>faux_root</key>
+ <string>%RECIPE_CACHE_DIR%</string>
+ <key>installs_item_paths</key>
+ <array>
+ <string>/Applications/Aircall.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_path</key>
+ <string>%RECIPE_CACHE_DIR%/%NAME%.dmg</string>
+ <key>dmg_root</key>
+ <string>%RECIPE_CACHE_DIR%/Applications</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>%RECIPE_CACHE_DIR%/Applications</string>
+ <string>%RECIPE_CACHE_DIR%/%NAME%</string>
+ </array>
+ </dict>
</dict>
</array>
</dict>
