WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions TeXLiveUtility/TeXLiveUtility.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,46 @@
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkgdirs</key>
<dict>
<key>Applications</key>
<string>0775</string>
<key>Applications/TeX</key>
<string>0775</string>
</dict>
<key>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/%NAME%</string>
</dict>
<key>Processor</key>
<string>PkgRootCreator</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>archive_path</key>
<string>%pathname%</string>
<key>destination_path</key>
<string>%pkgroot%/Applications/TeX</string>
<key>purge_destination</key>
<true/>
</dict>
<key>Processor</key>
<string>Unarchiver</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>input_path</key>
<string>%pkgroot%/Applications/TeX/TeX Live Utility.app</string>
<key>requirement</key>
<string>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"</string>
</dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
</dict>
</array>
</dict>
</plist>
39 changes: 37 additions & 2 deletions TeXLiveUtility/TeXLiveUtility.munki.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@
<plist version="1.0">
<dict>
<key>Description</key>
<string>Uploads TexLiveUtility into Munki</string>
<string>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.</string>
<key>Identifier</key>
<string>com.github.scriptingosx.munki.TeXLiveUtility</string>
<key>Input</key>
<dict>
<key>DERIVE_MIN_OS</key>
<string>YES</string>
<key>MUNKI_CATEGORY</key>
<string>TeX</string>
<key>MUNKI_REPO_SUBDIR</key>
Expand All @@ -33,11 +37,42 @@
</dict>
</dict>
<key>MinimumVersion</key>
<string>0.4.3</string>
<string>2.7</string>
<key>ParentRecipe</key>
<string>com.github.scriptingosx.pkg.TeXLiveUtility</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>faux_root</key>
<string>%RECIPE_CACHE_DIR%/%NAME%</string>
<key>derive_minimum_os_version</key>
<string>%DERIVE_MIN_OS%</string>
<key>installs_item_paths</key>
<array>
<string>/Applications/TeX/TeX Live Utility.app</string>
</array>
</dict>
<key>Processor</key>
<string>MunkiInstallsItemsCreator</string>
</dict>
<dict>
<key>Processor</key>
<string>MunkiPkginfoMerger</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>additional_pkginfo</key>
<dict>
<key>version</key>
<string>%version%</string>
</dict>
</dict>
<key>Processor</key>
<string>MunkiPkginfoMerger</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
Expand Down
29 changes: 0 additions & 29 deletions TeXLiveUtility/TeXLiveUtility.pkg.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,6 @@
<string>com.github.scriptingosx.download.TeXLiveUtility</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>pkgdirs</key>
<dict>
<key>Applications</key>
<string>0775</string>
<key>Applications/TeX</key>
<string>0775</string>
</dict>
<key>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/%NAME%</string>
</dict>
<key>Processor</key>
<string>PkgRootCreator</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>archive_path</key>
<string>%pathname%</string>
<key>destination_path</key>
<string>%pkgroot%/Applications/TeX</string>
<key>purge_destination</key>
<true/>
</dict>
<key>Processor</key>
<string>Unarchiver</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
Expand Down