|
3 | 3 | <plist version="1.0">
|
4 | 4 | <dict>
|
5 | 5 | <key>Description</key>
|
6 |
| - <string>Downloads the current release version of Citrix Workspace and imports into Munki.</string> |
| 6 | + <string>Downloads the current release version of Citrix Workspace and imports into Munki. |
| 7 | + |
| 8 | +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> |
7 | 9 | <key>Identifier</key>
|
8 | 10 | <string>io.github.hjuutilainen.munki.CitrixWorkspace</string>
|
9 | 11 | <key>Input</key>
|
10 | 12 | <dict>
|
| 13 | + <key>DERIVE_MIN_OS</key> |
| 14 | + <string>YES</string> |
11 | 15 | <key>NAME</key>
|
12 | 16 | <string>CitrixWorkspace</string>
|
13 | 17 | <key>MUNKI_REPO_SUBDIR</key>
|
|
41 | 45 | </dict>
|
42 | 46 | </dict>
|
43 | 47 | <key>MinimumVersion</key>
|
44 |
| - <string>0.2.0</string> |
| 48 | + <string>2.7</string> |
45 | 49 | <key>ParentRecipe</key>
|
46 | 50 | <string>io.github.hjuutilainen.download.CitrixWorkspace</string>
|
47 | 51 | <key>Process</key>
|
|
68 | 72 | <key>Processor</key>
|
69 | 73 | <string>PkgPayloadUnpacker</string>
|
70 | 74 | </dict>
|
71 |
| - <dict> |
72 |
| - <key>Arguments</key> |
73 |
| - <dict> |
74 |
| - <key>flat_pkg_path</key> |
75 |
| - <string>%RECIPE_CACHE_DIR%/payload/Library/Application Support/CitrixPackage/com.citrix.apps.cwa.pkg</string> |
76 |
| - <key>destination_path</key> |
77 |
| - <string>%RECIPE_CACHE_DIR%/payload2</string> |
78 |
| - </dict> |
79 |
| - <key>Processor</key> |
80 |
| - <string>FlatPkgUnpacker</string> |
81 |
| - </dict> |
82 |
| - <dict> |
83 |
| - <key>Arguments</key> |
84 |
| - <dict> |
85 |
| - <key>pkg_payload_path</key> |
86 |
| - <string>%RECIPE_CACHE_DIR%/payload2/com.citrix.ICAClientcwa.pkg/Payload</string> |
87 |
| - <key>destination_path</key> |
88 |
| - <string>%RECIPE_CACHE_DIR%/payload3</string> |
89 |
| - </dict> |
90 |
| - <key>Processor</key> |
91 |
| - <string>PkgPayloadUnpacker</string> |
92 |
| - </dict> |
| 75 | + <dict> |
| 76 | + <key>Arguments</key> |
| 77 | + <dict> |
| 78 | + <key>flat_pkg_path</key> |
| 79 | + <string>%RECIPE_CACHE_DIR%/payload/Library/Application Support/CitrixPackage/com.citrix.apps.cwa.pkg</string> |
| 80 | + <key>destination_path</key> |
| 81 | + <string>%RECIPE_CACHE_DIR%/payload2</string> |
| 82 | + </dict> |
| 83 | + <key>Processor</key> |
| 84 | + <string>FlatPkgUnpacker</string> |
| 85 | + </dict> |
| 86 | + <dict> |
| 87 | + <key>Arguments</key> |
| 88 | + <dict> |
| 89 | + <key>pkg_payload_path</key> |
| 90 | + <string>%RECIPE_CACHE_DIR%/payload2/com.citrix.ICAClientcwa.pkg/Payload</string> |
| 91 | + <key>destination_path</key> |
| 92 | + <string>%RECIPE_CACHE_DIR%/payload3</string> |
| 93 | + </dict> |
| 94 | + <key>Processor</key> |
| 95 | + <string>PkgPayloadUnpacker</string> |
| 96 | + </dict> |
93 | 97 | <dict>
|
94 | 98 | <key>Arguments</key>
|
95 | 99 | <dict>
|
96 | 100 | <key>faux_root</key>
|
97 |
| - <string>%RECIPE_CACHE_DIR%/payload</string> |
| 101 | + <string>%RECIPE_CACHE_DIR%/payload3</string> |
98 | 102 | <key>installs_item_paths</key>
|
99 | 103 | <array>
|
100 | 104 | <string>/Applications/Citrix Workspace.app</string>
|
101 | 105 | </array>
|
| 106 | + <key>derive_minimum_os_version</key> |
| 107 | + <string>%DERIVE_MIN_OS%</string> |
102 | 108 | </dict>
|
103 | 109 | <key>Processor</key>
|
104 | 110 | <string>MunkiInstallsItemsCreator</string>
|
|
110 | 116 | <string>MunkiPkginfoMerger</string>
|
111 | 117 | </dict>
|
112 | 118 | <dict>
|
113 |
| - <key>Arguments</key> |
114 |
| - <dict> |
115 |
| - <key>info_path</key> |
116 |
| - <string>%RECIPE_CACHE_DIR%/payload3/Applications/Citrix Workspace.app/Contents/Info.plist</string> |
117 |
| - <key>plist_keys</key> |
118 |
| - <dict> |
119 |
| - <key>CFBundleShortVersionString</key> |
120 |
| - <string>version</string> |
121 |
| - <key>LSMinimumSystemVersion</key> |
122 |
| - <string>minimum_os_version</string> |
123 |
| - </dict> |
124 |
| - </dict> |
125 | 119 | <key>Processor</key>
|
126 |
| - <string>PlistReader</string> |
127 |
| - </dict> |
128 |
| - <dict> |
| 120 | + <string>MunkiImporter</string> |
129 | 121 | <key>Arguments</key>
|
130 | 122 | <dict>
|
131 |
| - <key>additional_pkginfo</key> |
132 |
| - <dict> |
133 |
| - <key>minimum_os_version</key> |
134 |
| - <string>%minimum_os_version%</string> |
135 |
| - <key>installs</key> |
136 |
| - <array> |
137 |
| - <dict> |
138 |
| - <key>CFBundleShortVersionString</key> |
139 |
| - <string>%version%</string> |
140 |
| - <key>path</key> |
141 |
| - <string>/Applications/Citrix Workspace.app</string> |
142 |
| - <key>type</key> |
143 |
| - <string>application</string> |
144 |
| - <key>version_comparison_key</key> |
145 |
| - <string>CFBundleShortVersionString</string> |
146 |
| - </dict> |
147 |
| - </array> |
148 |
| - </dict> |
| 123 | + <key>munkiimport_pkgname</key> |
| 124 | + <string>Install Citrix Workspace.pkg</string> |
| 125 | + <key>pkg_path</key> |
| 126 | + <string>%pathname%</string> |
| 127 | + <key>repo_subdirectory</key> |
| 128 | + <string>%MUNKI_REPO_SUBDIR%</string> |
149 | 129 | </dict>
|
150 |
| - <key>Processor</key> |
151 |
| - <string>MunkiPkginfoMerger</string> |
152 | 130 | </dict>
|
153 | 131 | <dict>
|
154 | 132 | <key>Arguments</key>
|
|
158 | 136 | <string>%RECIPE_CACHE_DIR%/unpack</string>
|
159 | 137 | <string>%RECIPE_CACHE_DIR%/payload</string>
|
160 | 138 | <string>%RECIPE_CACHE_DIR%/payload2</string>
|
161 |
| - <string>%RECIPE_CACHE_DIR%/payload3</string> |
| 139 | + <string>%RECIPE_CACHE_DIR%/payload3/</string> |
162 | 140 | </array>
|
163 | 141 | </dict>
|
164 | 142 | <key>Processor</key>
|
165 | 143 | <string>PathDeleter</string>
|
166 | 144 | </dict>
|
167 |
| - <dict> |
168 |
| - <key>Processor</key> |
169 |
| - <string>MunkiImporter</string> |
170 |
| - <key>Arguments</key> |
171 |
| - <dict> |
172 |
| - <key>munkiimport_pkgname</key> |
173 |
| - <string>Install Citrix Workspace.pkg</string> |
174 |
| - <key>pkg_path</key> |
175 |
| - <string>%pathname%</string> |
176 |
| - <key>repo_subdirectory</key> |
177 |
| - <string>%MUNKI_REPO_SUBDIR%</string> |
178 |
| - </dict> |
179 |
| - </dict> |
180 | 145 | </array>
|
181 | 146 | </dict>
|
182 | 147 | </plist>
|
0 commit comments