Created
June 3, 2015 13:36
-
-
Save neilmartin83/53e56236d1c3bb91231f to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
## preinstall | |
if [[ -d "$3/Applications/Pro Tools.app" ]]; then | |
echo "Pro Tools has been previously installed, removing before installation…" | |
/bin/rm -rf "$3/Applications/Pro Tools.app" | |
else | |
echo "Pro Tools has not been previously installed, proceeding with installation…" | |
fi | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pro Tools preinstall script - ensures that any pre-existing version is deleted. Installing a new version 'over the top' means there are some things left behind in the app bundle from the previous version and Pro Tools gets a little upset...