Created
June 28, 2016 22:21
-
-
Save samhotchkiss/38dac797bf12bdc9809514d7e7704cb9 to your computer and use it in GitHub Desktop.
Creates a fresh install of Jetpack beta
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 | |
url="https://betadownload.jetpack.me/jetpack.zip" | |
opt=$1 | |
if [ "rc" == "$1" ]; then | |
url="https://betadownload.jetpack.me/rc/jetpack.zip" | |
fi | |
if [ "repo" == "$1" ]; then | |
url="jetpack" | |
fi | |
wp core update | |
wp core update-db | |
wp jetpack disconnect blog | |
yes yes | wp jetpack reset options | |
wp plugin uninstall --deactivate jetpack | |
wp plugin install $url | |
wp plugin activate jetpack | |
wp plugin update akismet | |
wp plugin update vaultpress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment