Created
July 17, 2020 04:36
-
-
Save apizz/98d951ae7f1f34758bbee5ae16e8f7d8 to your computer and use it in GitHub Desktop.
installcheck_script for appleloops MainStage nopkg item for all loops
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 | |
fi | |
exit $exitcode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment