-
Notifications
You must be signed in to change notification settings - Fork 0
/
TextWrangler.munki.recipe
91 lines (90 loc) · 3.13 KB
/
TextWrangler.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
<?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>local.munki.TextWrangler</string>
<key>Input</key>
<dict>
<key>MUNKI_REPO_SUBDIR</key>
<string>SysAdmin Tools/TextWrangler</string>
<key>NAME</key>
<string>TextWrangler</string>
<key>pkginfo</key>
<dict>
<key>catalogs</key>
<array>
<string>production</string>
</array>
<key>category</key>
<string>Text Editors</string>
<key>description</key>
<string>TextWrangler is the powerful general purpose text editor, and Unix and server administrator's tool. TextWrangler is the "little brother" to BBEdit, a leading professional HTML and text editor.</string>
<key>developer</key>
<string>Bare Bones Software</string>
<key>display_name</key>
<string>TextWrangler</string>
<key>name</key>
<string>%NAME%</string>
<key>postinstall_script</key>
<string>#!/bin/sh
# Copy command-line tool resources out of .app bundle
CMD_TOOL_DIR=/usr/local/bin
CMD_MAN_DIR=/usr/local/share/man/man1
HELPER_BIN_SRC_DIR=/Applications/TextWrangler.app/Contents/Helpers
HELPER_MAN_SRC_DIR=/Applications/TextWrangler.app/Contents/Resources
LN=/bin/ln
# create dirs if they don't already exist
for DIR in "$CMD_TOOL_DIR" "$CMD_MAN_DIR"; do
[ -d "$DIR" ] || mkdir -p -m 775 "$DIR"
done
# make symlinks to binaries and manpages
for TOOL in edit twdiff twfind; do
"$LN" -sf "$HELPER_BIN_SRC_DIR/$TOOL" "$CMD_TOOL_DIR/$TOOL"
"$LN" -sf "$HELPER_MAN_SRC_DIR/$TOOL.1" "$CMD_MAN_DIR/$TOOL.1"
done
</string>
<key>unattended_install</key>
<true/>
</dict>
</dict>
<key>ParentRecipe</key>
<string>com.github.autopkg.munki.textwrangler</string>
<key>ParentRecipeTrustInfo</key>
<dict>
<key>non_core_processors</key>
<dict>
<key>BarebonesURLProvider</key>
<dict>
<key>git_hash</key>
<string>c4a6bacbba3a00ff24f0914efcd9159eb26999ba</string>
<key>path</key>
<string>/Users/sadmin/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/Barebones/BarebonesURLProvider.py</string>
<key>sha256_hash</key>
<string>f23c5f4769d3be3f29d1e573867275ae63e38c23e56b39250478c3159927a33f</string>
</dict>
</dict>
<key>parent_recipes</key>
<dict>
<key>com.github.autopkg.download.textwrangler</key>
<dict>
<key>git_hash</key>
<string>937886757bbb1981b1179263f2aed613fea1d53d</string>
<key>path</key>
<string>/Users/sadmin/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/Barebones/TextWrangler.download.recipe</string>
<key>sha256_hash</key>
<string>9e10b50a7087d36f58ba0385d5385f1be65406c988037dbf910b58c4cc91d2f5</string>
</dict>
<key>com.github.autopkg.munki.textwrangler</key>
<dict>
<key>git_hash</key>
<string>d9449d893954ed882c35e6708452aac791ba0e83</string>
<key>path</key>
<string>/Users/sadmin/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/Barebones/TextWrangler.munki.recipe</string>
<key>sha256_hash</key>
<string>2d3a3e329f8aa0c17b67de887282084b308de821c573ce4bac7c2613fefe355a</string>
</dict>
</dict>
</dict>
</dict>
</plist>