-
Notifications
You must be signed in to change notification settings - Fork 87
/
ShareFile.munki.recipe
executable file
·145 lines (145 loc) · 5.02 KB
/
ShareFile.munki.recipe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the latest version of ShareFile and imports into Munki.</string>
<key>Identifier</key>
<string>com.github.dataJAR-recipes.munki.ShareFile</string>
<key>Input</key>
<dict>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps/%NAME%</string>
<key>NAME</key>
<string>ShareFile</string>
<key>pkginfo</key>
<dict>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>description</key>
<string>ShareFile for Mac allows users with a ShareFile license to interact with all their files directly from the Finder. Files do not need to be synced locally. Quick access to sharing, requesting, and other file options are available through the right click menu.</string>
<key>display_name</key>
<string>ShareFile</string>
<key>name</key>
<string>%NAME%</string>
<key>unattended_install</key>
<true/>
<key>unattended_uninstall</key>
<true/>
</dict>
</dict>
<key>MinimumVersion</key>
<string>2.7</string>
<key>ParentRecipe</key>
<string>com.github.dataJAR-recipes.download.ShareFile</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>FlatPkgUnpacker</string>
<key>Arguments</key>
<dict>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/unpack/</string>
<key>flat_pkg_path</key>
<string>%pathname%/Install ShareFile.pkg</string>
<key>purge_destination</key>
<true/>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>PkgPayloadUnpacker</string>
<key>Arguments</key>
<dict>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/Applications</string>
<key>pkg_payload_path</key>
<string>%RECIPE_CACHE_DIR%/unpack/ShareFile.pkg/Payload</string>
<key>purge_destination</key>
<true/>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Versioner</string>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%RECIPE_CACHE_DIR%/Applications/ShareFile.app/Contents/Info.plist</string>
<key>plist_version_key</key>
<string>CFBundleVersion</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>MunkiInstallsItemsCreator</string>
<key>Arguments</key>
<dict>
<key>derive_minimum_os_version</key>
<true/>
<key>faux_root</key>
<string>%RECIPE_CACHE_DIR%</string>
<key>installs_item_paths</key>
<array>
<string>/Applications/ShareFile.app</string>
</array>
<key>version_comparison_key</key>
<string>CFBundleVersion</string>
</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>%RECIPE_CACHE_DIR%/Applications/ShareFile.app/Contents/Info.plist</string>
<key>plist_version_key</key>
<string>CFBundleVersion</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>MunkiImporter</string>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%pathname%</string>
<key>repo_subdirectory</key>
<string>%MUNKI_REPO_SUBDIR%</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>PathDeleter</string>
<key>Arguments</key>
<dict>
<key>path_list</key>
<array>
<string>%RECIPE_CACHE_DIR%/Applications/</string>
<string>%RECIPE_CACHE_DIR%/unpack</string>
</array>
</dict>
</dict>
</array>
</dict>
</plist>