This file contains hidden or 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
#!/bin/bash | |
# Use the built-in ipp2ppd tool to create a PPD file for AirPrint | |
# Add icon to PPD (if we can get one) and install the printer | |
# Required printer info | |
readonly PRINTER_IP='XXX.XXX.XXX.XXX' | |
readonly PRINTER_NAME='PRINTER_NAME' | |
readonly PRINTER_DISPLAY_NAME='PRINTER NAME' | |
readonly PRINTER_LOCATION='PRINTER LOCATION' |
This file contains hidden or 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
#!/bin/bash | |
# Script to find and delete .dmg, .pkg, .tar.gz, and .zip files from | |
# your autopkg cache | |
# Failed / incomplete downloads (prefixed with tmp) are also removed | |
# Number of days after which to delete matching files | |
readonly DAYS_TO_DELETE=7 | |
# Path to autopkg Cache folder for current user |
This file contains hidden or 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
#!/bin/bash | |
# Script template to install or remove an installed homebrew | |
# formula. | |
# Variable to supply as part of the assigned Jamf policy to | |
# install or remove the specified brew formula | |
BREW_ITEM="$4" | |
# Comment out the undesired BREW_ACTION | |
BREW_ACTION="install" |
This file contains hidden or 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
#!/bin/bash | |
RECEIPT_ONE="/Library/Receipts/.appleLoopsMSMandatoryDone" | |
RECEIPT_TWO="/Library/Receipts/.appleLoopsMSOptionalDone" | |
# If either RECEIPT not present, run nopkg postinstall script | |
if [ ! -f "$RECEIPT_ONE" ] || [ ! -f "$RECEIPT_TWO" ]; then | |
exitcode=0 | |
else | |
exitcode=1 |
This file contains hidden or 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
#!/bin/bash | |
RECEIPT_ONE="/Library/Receipts/.appleLoopsLPMandatoryDone" | |
RECEIPT_TWO="/Library/Receipts/.appleLoopsLPOptionalDone" | |
# If either RECEIPT not present, run nopkg postinstall script | |
if [ ! -f "$RECEIPT_ONE" ] || [ ! -f "$RECEIPT_TWO" ]; then | |
exitcode=0 | |
else | |
exitcode=1 |
This file contains hidden or 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
#!/bin/bash | |
RECEIPT_ONE="/Library/Receipts/.appleLoopsGBMandatoryDone" | |
RECEIPT_TWO="/Library/Receipts/.appleLoopsGBOptionalDone" | |
# If either RECEIPT not present, run nopkg postinstall script | |
if [ ! -f "$RECEIPT_ONE" ] || [ ! -f "$RECEIPT_TWO" ]; then | |
exitcode=0 | |
else | |
exitcode=1 |
This file contains hidden or 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
#!/bin/bash | |
RECEIPT="/Library/Receipts/.appleLoopsMSOptionalDone" | |
# If RECEIPT not present, run nopkg postinstall script | |
if [ ! -f "$RECEIPT" ]; then | |
exitcode=0 | |
else | |
exitcode=1 | |
fi |
This file contains hidden or 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
#!/bin/bash | |
RECEIPT="/Library/Receipts/.appleLoopsLPOptionalDone" | |
# If RECEIPT not present, run nopkg postinstall script | |
if [ ! -f "$RECEIPT" ]; then | |
exitcode=0 | |
else | |
exitcode=1 | |
fi |
This file contains hidden or 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
#!/bin/bash | |
RECEIPT="/Library/Receipts/.appleLoopsGBOptionalDone" | |
# If RECEIPT not present, run nopkg postinstall script | |
if [ ! -f "$RECEIPT" ]; then | |
exitcode=0 | |
else | |
exitcode=1 | |
fi |
This file contains hidden or 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
#!/bin/bash | |
RECEIPT="/Library/Receipts/.appleLoopsMSMandatoryDone" | |
# If RECEIPT not present, run nopkg postinstall script | |
if [ ! -f "$RECEIPT" ]; then | |
exitcode=0 | |
else | |
exitcode=1 | |
fi |
NewerOlder