Posting Casper scripts used to display messages.

Posting Casper scripts used to display messages with jamf
displayMessage -message "Message goes here".
Adding Casper message scripts.

Adding Casper message scripts for the following categories:

Application install finished
Application install finished and a restart is needed.
Browser plug-in install is finished.
Updating application message script

Noticed that I had the wrong variable in place.
Fixed grammatical error.

Sentences should stop. Mine didn't.
Updating the install_latest_adobe_flash_player.sh script

Updating the install_latest_adobe_flash_player.sh script to make it
less dependent on what the downloaded disk image is named. Script also
now mounts disk image to a mountpoint in /tmp, rather than in /Volumes.

A payload-free package has also been built to run this script.
Fixing name of payload-free package

Changing name of the payload-free package zip file to
install_latest_adobe_flash_player.zip.
Posting the unhide_users_and_fix_permissions.sh script

One side effect of the iTunes 11.2 update on Thursday, May 15th 2014
has been that some but not all Macs were seeing the /Users and
/Users/Shared folders disappear. The permissions on the /Users folder
were also changed to be world-writable, so that anyone could read and
write to the /Users folder.

After considerable investigation, it looks like the issue has been tied
to two causes:

1. iTunes 11.2 being installed
2. iCloud's Find My Mac being enabled.

The 10.9.3 update by itself does not seem to be the root cause, as the
behavior has also been reproduced on 10.9.2 with iTunes 11.2 and Find
My Mac enabled.

To fix this issue if you're seeing it:

1. Open System Preferences
2. Open the iCloud preference pane
3. Check if Find My Mac is enabled
4. If Find My Mac is enabled, uncheck it to disable it.
5. Run the unhide_users_and_fix_permissions.sh script found in this
directory.
Upload updated payload-free package
Uploading updated payload-free package.
Update README.txt
Updating InstallCasper function in caspercheck.sh

Updating the InstallCasper function in caspercheck.sh. I had been using
"-d" for the file test operator, as bundle-style QuickAdd packages are
detectable as directory. However, valid flat QuickAdd packages fail the
check, since they are xar archive files.

To fix this issue, I'm updating the file test operator to use "-e" to
test and see if the QuickAdd package exists without having to specify
if it's a file or directory. This should accommodate both use cases.
Updating the URL for Adobe Flash Player 14.x

The URL for downloading Adobe Flash Player 14.x had changed from
referencing Flash 13 to Flash 14. New URL:
http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/i
nstall_flash_player_14_osx_pkg.dmg
Updating README to update the name of the d/l'd dmg
Uploading updated payload-free package
Updating Casper message scripts for Casper 9.32.

Updating Casper message scripts for Casper 9.32, to fix an issue with
"jamf displayMessage -message" not displaying on 10.5.x and 10.6.x.
Adding Casper EA to detect Sophos management

Adding Casper Extension Attribute to detect which Sophos management
console or update server is used by Sophos Anti-Virus.
Making the Adobe Flash Player more future-proof.

Making the Adobe Flash Player more future-proof by adding a check for
the major version of Flash by querying
http://fpdownload2.macromedia.com/get/flashplayer/update/current/xml/ver
sion_en_mac_pl.xml.
Updated with better cut so that I no longer need grep.

Changing "/usr/bin/curl --silent
http://fpdownload2.macromedia.com/get/flashplayer/update/current/xml/ver
sion_en_mac_pl.xml | grep 'update version' | awk '{print $2}' | cut
-c10-11" so that it now uses "/usr/bin/curl --silent
http://fpdownload2.macromedia.com/get/flashplayer/update/current/xml/ver
sion_en_mac_pl.xml | cut -d , -f 1 | awk -F\" '/update version/{print
$NF}'". Thanks to Allister Banks for the suggested changes:
http://osx.michaellynn.org/freenode-osx-server/freenode-osx-server_2014-
07-18.html at [15:58:44 UTC].
Updating KBox 1000 Version Check EA

Updating my KBox 1000 Version Check so that it now returns the first
line of /Library/Application Support/Dell/KACE/data/version instead of
grepping. With KBox 6.x, the previous grep for "5" will now return
nothing and grepping for "6" will return two results (one right, one
wrong.)
Re: issue #13, correcting name of my 10.9 first boot script

Re: issue #13, the name of my 10.9 first boot script was set to be
initialsetup.sh, instead of "first_boot.sh". Now updating the script to
fix the inconsistency in naming.