Update LAPS for macOS.munki.recipe
Updated as .munki doesn't need .pkg as parent
<key>MinimumVersion</key>
<string>1.0.0</string>
<key>ParentRecipe</key>
- <string>com.github.neilmartin83.pkg.LAPSformacOS</string>
+ <string>com.github.neilmartin83.download.LAPSformacOS</string>
<key>Process</key>
<array>
<dict>
+ <key>Processor</key>
+ <string>PkgRootCreator</string>
+ <key>Arguments</key>
+ <dict>
+ <key>pkgroot</key>
+ <string>%RECIPE_CACHE_DIR%/%NAME%</string>
+ <key>pkgdirs</key>
+ <dict>
+ <key>Applications</key>
+ <string>0775</string>
+ </dict>
+ </dict>
+ </dict>
+ <dict>
+ <key>Processor</key>
+ <string>Unarchiver</string>
+ <key>Arguments</key>
+ <dict>
+ <key>destination_path</key>
+ <string>%pkgroot%/Applications</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>Processor</key>
+ <string>MunkiInstallsItemsCreator</string>
+ <key>Arguments</key>
+ <dict>
+ <key>faux_root</key>
+ <string>%RECIPE_CACHE_DIR%/%NAME%</string>
+ <key>version_comparison_key</key>
+ <string>CFBundleShortVersionString</string>
+ <key>installs_item_paths</key>
+ <array>
+ <string>/Applications/LAPS for macOS.app</string>
+ </array>
+ </dict>
+ </dict>
+ <dict>
+ <key>Processor</key>
+ <string>MunkiPkginfoMerger</string>
+ </dict>
+ <dict>
+ <key>Processor</key>
+ <string>Versioner</string>
+ <key>Arguments</key>
+ <dict>
+ <key>input_plist_path</key>
+ <string>%pkgroot%/Applications/LAPS for macOS.app/Contents/Info.plist</string>
+ <key>plist_version_key</key>
+ <string>CFBundleShortVersionString</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>Processor</key>
+ <string>MunkiPkginfoMerger</string>
+ <key>Arguments</key>
+ <dict>
+ <key>additional_pkginfo</key>
+ <dict>
+ <key>version</key>
+ <string>%version%</string>
+ </dict>
+ </dict>
+ </dict>
+ <dict>
+ <key>Processor</key>
+ <string>DmgCreator</string>
+ <key>Arguments</key>
+ <dict>
+ <key>dmg_root</key>
+ <string>%RECIPE_CACHE_DIR%/%NAME%/Applications</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>
- <key>Processor</key>
- <string>MunkiImporter</string>
</dict>
</array>
</dict>
