Last active
March 17, 2020 19:36
-
-
Save ehemmete/70396684d6ed91687ec4b7f85aa8961b to your computer and use it in GitHub Desktop.
Choices.xml postinstall.sh
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 | |
resourceLocation=$(/usr/bin/dirname "$0") | |
/usr/sbin/installer -applyChoiceChangesXML "${resourceLocation}/choicesForAnyConnectVPN.xml" -pkg "${resourceLocation}/AnyConnect.pkg" -target "$3" | |
/usr/bin/security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain "${resourceLocation}/SSL.crt" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment