diff --git a/TeXLiveUtility/TeXLiveUtility.download.recipe b/TeXLiveUtility/TeXLiveUtility.download.recipe index eadbd30..1ff6996 100644 --- a/TeXLiveUtility/TeXLiveUtility.download.recipe +++ b/TeXLiveUtility/TeXLiveUtility.download.recipe @@ -45,6 +45,46 @@ Processor EndOfCheckPhase + + Arguments + + pkgdirs + + Applications + 0775 + Applications/TeX + 0775 + + pkgroot + %RECIPE_CACHE_DIR%/%NAME% + + Processor + PkgRootCreator + + + Arguments + + archive_path + %pathname% + destination_path + %pkgroot%/Applications/TeX + purge_destination + + + Processor + Unarchiver + + + Arguments + + input_path + %pkgroot%/Applications/TeX/TeX Live Utility.app + requirement + identifier "com.googlecode.mactlmgr.tlu" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "966Z24PX4J" + + Processor + CodeSignatureVerifier + diff --git a/TeXLiveUtility/TeXLiveUtility.munki.recipe b/TeXLiveUtility/TeXLiveUtility.munki.recipe index a792990..06b20a3 100644 --- a/TeXLiveUtility/TeXLiveUtility.munki.recipe +++ b/TeXLiveUtility/TeXLiveUtility.munki.recipe @@ -3,11 +3,15 @@ Description - Uploads TexLiveUtility into Munki + Uploads TexLiveUtility into Munki + +Set the DERIVE_MIN_OS variable to a non-empty string to set the minimum_os_version via MunkiInstallsItemsCreator. This requires a minimum AutoPkg version of 2.7 please update if you're not already running it. Identifier com.github.scriptingosx.munki.TeXLiveUtility Input + DERIVE_MIN_OS + YES MUNKI_CATEGORY TeX MUNKI_REPO_SUBDIR @@ -33,11 +37,42 @@ MinimumVersion - 0.4.3 + 2.7 ParentRecipe com.github.scriptingosx.pkg.TeXLiveUtility Process + + Arguments + + faux_root + %RECIPE_CACHE_DIR%/%NAME% + derive_minimum_os_version + %DERIVE_MIN_OS% + installs_item_paths + + /Applications/TeX/TeX Live Utility.app + + + Processor + MunkiInstallsItemsCreator + + + Processor + MunkiPkginfoMerger + + + Arguments + + additional_pkginfo + + version + %version% + + + Processor + MunkiPkginfoMerger + Arguments diff --git a/TeXLiveUtility/TeXLiveUtility.pkg.recipe b/TeXLiveUtility/TeXLiveUtility.pkg.recipe index 6ebdc07..f8d073a 100644 --- a/TeXLiveUtility/TeXLiveUtility.pkg.recipe +++ b/TeXLiveUtility/TeXLiveUtility.pkg.recipe @@ -14,35 +14,6 @@ com.github.scriptingosx.download.TeXLiveUtility Process - - Arguments - - pkgdirs - - Applications - 0775 - Applications/TeX - 0775 - - pkgroot - %RECIPE_CACHE_DIR%/%NAME% - - Processor - PkgRootCreator - - - Arguments - - archive_path - %pathname% - destination_path - %pkgroot%/Applications/TeX - purge_destination - - - Processor - Unarchiver - Arguments