Last active
March 3, 2016 09:24
-
-
Save inwdragon/4eecc5f40379257ec9e6 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
# Last updated 2016-03-03 | |
WP_RECOMMENDED_SITE_VERSION="v1.0.1" | |
SFTP_VERSION="0.7.1" | |
WP_CONTENT_DIR='ls -l | grep wp-content' | |
chmod 777 wp-content | |
cd wp-content | |
chmod 777 plugins | |
cd plugins | |
git clone https://github.com/Inwdragon/WPRecommendedSite.git | |
cd WPRecommendedSite | |
git checkout tags/${WP_RECOMMENDED_SITE_VERSION} | |
cd .. | |
mkdir recommended-sites | |
mv WPRecommendedSite/* `pwd`/recommended-sites | |
rm -rf WPRecommendedSite/ | |
cd .. | |
chmod 755 plugins | |
cd .. | |
chmod 755 wp-content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment