Created
October 19, 2018 17:56
-
-
Save rtrouton/a507a6ab77de17099eeced5f2af1262a to your computer and use it in GitHub Desktop.
Preinstall script for AutoPkg-built OpenJDK installer
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/bash | |
# Remove existing OpenJDK 11 installations | |
for JAVADIR in "$3"/Library/Java/JavaVirtualMachines/jdk-11*; do | |
rm -rf "$JAVADIR" | |
done | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment