Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save apizz/085d9c751c1530a09e332ce49f816327 to your computer and use it in GitHub Desktop.
Save apizz/085d9c751c1530a09e332ce49f816327 to your computer and use it in GitHub Desktop.
installcheck_script for appleloops GarageBand nopkg item for optional loops
#!/bin/bash
RECEIPT="/Library/Receipts/.appleLoopsGBOptionalDone"
# If RECEIPT not present, run nopkg postinstall script
if [ ! -f "$RECEIPT" ]; then
exitcode=0
else
exitcode=1
fi
exit $exitcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment