Created
June 22, 2015 22:35
-
-
Save nmcspadden/636ae0cd9afaf2d35c77 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/bash | |
temppath="$(mktemp -d -t AdobePreludePro)" | |
/bin/mkdir -p "$temppath/Library/Application Support/Adobe/Prelude/4.0/" | |
/bin/cp Adobe\ Prelude\ Prefs "$temppath/Library/Application Support/Adobe/Prelude/4.0/Adobe Prelude Prefs" | |
/bin/mkdir -p "$temppath/usr/local/outset/login-once" | |
/bin/chmod ugo+x AdobePreludeCCPrefs.sh | |
/bin/cp AdobePreludeCCPrefs.sh "$temppath/usr/local/outset/login-once/" | |
/bin/mkdir "scripts" | |
/bin/cp AdobePreludeCCPrefs.sh "scripts/postinstall" | |
/usr/bin/pkgbuild --root "$temppath" --identifier "org.sacredsf.adobe.prelude.welcome" --scripts "scripts" --version 1.0 AdobePrelude-Welcome.pkg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment