Created
February 10, 2014 20:32
-
-
Save timsutton/8923628 to your computer and use it in GitHub Desktop.
Test for a nopkg Munki item fails to install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>autoremove</key> | |
<false/> | |
<key>catalogs</key> | |
<array> | |
<string>testing</string> | |
</array> | |
<key>installcheck_script</key> | |
<string>#!/bin/sh | |
exit 0 | |
</string> | |
<key>installer_type</key> | |
<string>nopkg</string> | |
<key>minimum_os_version</key> | |
<string>10.4.0</string> | |
<key>preinstall_script</key> | |
<string>#!/bin/sh | |
echo "Sleeping.." | |
sleep 5 | |
exit 1 | |
</string> | |
<key>name</key> | |
<string>TestBadPkg</string> | |
<key>version</key> | |
<string>1.0.0.0.0 (Please edit me!)</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment