-
Notifications
You must be signed in to change notification settings - Fork 2
/
AppleUpdatesDisable.pkginfo
59 lines (54 loc) · 1.54 KB
/
AppleUpdatesDisable.pkginfo
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
<?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>OnDemand</key>
<true/>
<key>_metadata</key>
<dict>
<key>created_by</key>
<string>kevinmcox</string>
<key>creation_date</key>
<date>2018-02-12T21:40:44Z</date>
<key>munki_version</key>
<string>3.2.0.3476</string>
<key>os_version</key>
<string>10.12.6</string>
</dict>
<key>autoremove</key>
<false/>
<key>catalogs</key>
<array>
<string>testing</string>
<string>beta</string>
<string>live</string>
</array>
<key>category</key>
<string>Self-Service</string>
<key>description</key>
<string>On Demand to disable Apple Updates via Munki.</string>
<key>developer</key>
<string>Kevin M. Cox</string>
<key>display_name</key>
<string>Disable Apple Updates</string>
<key>icon_name</key>
<string>OnDemand.png</string>
<key>installer_type</key>
<string>nopkg</string>
<key>minimum_os_version</key>
<string>10.10.0</string>
<key>name</key>
<string>AppleUpdatesDisable</string>
<key>postinstall_script</key>
<string>#!/bin/bash
# Disables Apple Updates through Munki.
/usr/bin/defaults write /Library/Preferences/ManagedInstalls InstallAppleSoftwareUpdates -bool False
echo Install Apple Software Updates DISABLED
/usr/bin/defaults write /Library/Preferences/ManagedInstalls UnattendedAppleUpdates -bool False
echo Unattended Apple Updates DISABLED</string>
<key>unattended_install</key>
<false/>
<key>version</key>
<string>1.0</string>
</dict>
</plist>