Last active
August 29, 2015 14:23
-
-
Save nmcspadden/ee0d6213803453de74dd 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 AdobeDreamweaver)" | |
/bin/mkdir -p "$temppath/Library/Preferences/" | |
/bin/cp "Adobe Dreamweaver CC 2015 Prefs" "$temppath/Library/Preferences/Adobe Dreamweaver CC 2015 Prefs" | |
/bin/mkdir -p "$temppath/usr/local/outset/login-once" | |
/bin/chmod ugo+x AdobeDWCCPrefs.sh | |
/bin/cp AdobeDWCCPrefs.sh "$temppath/usr/local/outset/login-once/" | |
/bin/mkdir "scripts" | |
/bin/cp AdobeDWCCPrefs.sh "scripts/postinstall" | |
/usr/bin/pkgbuild --root "$temppath" --identifier "org.sacredsf.adobe.dreamweaver.welcome" --scripts "scripts" --version 1.0 AdobeDreamweaver-Welcome.pkg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment