forked from grahamgilbert/autopkg-overrides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTextMate2.munki.recipe
45 lines (45 loc) · 1.42 KB
/
TextMate2.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
<?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>Identifier</key>
<string>com.grahamgilbert.munki.TextMate2</string>
<key>Input</key>
<dict>
<key>BRANCH</key>
<string>release</string>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps/TextMate2</string>
<key>NAME</key>
<string>TextMate2</string>
<key>pkginfo</key>
<dict>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>description</key>
<string>TextMate brings Apple's approach to operating systems into the world of text editors. By bridging UNIX underpinnings and GUI, TextMate cherry-picks the best of both worlds to the benefit of expert scripters and novice users alike.</string>
<key>display_name</key>
<string>TextMate 2</string>
<key>name</key>
<string>%NAME%</string>
<key>postinstall_script</key>
<string>#!/bin/sh
[ -d /usr/local/bin ] || mkdir -p /usr/local/bin
/bin/cp -f -p /Applications/TextMate.app/Contents/Resources/mate /usr/local/bin/mate
</string>
<key>postuninstall_script</key>
<string>#!/bin/sh
[ -e /usr/local/bin/mate ] && rm -f /usr/local/bin/mate
</string>
<key>unattended_install</key>
<true/>
<key>category</key>
<string>Developer</string>
</dict>
</dict>
<key>ParentRecipe</key>
<string>com.github.autopkg.munki.TextMate2</string>
</dict>
</plist>