Created
March 13, 2011 15:39
-
-
Save leekelleher/868177 to your computer and use it in GitHub Desktop.
Upgrade WordPress Shell Script
This file contains hidden or 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 | |
# WordPress Update Script | |
# Written by: Lee Kelleher | |
# Released: 2008-04-23 | |
# Email: lee # at # vertino # dot # net | |
# Released under GPL | |
echo "Downloading current version of WordPress..." | |
wget http://wordpress.org/latest.tar.gz | |
echo "Uncompressing WordPress archive..." | |
tar -zxvf latest.tar.gz | |
echo "Removing downloaded archive..." | |
rm -f latest.tar.gz | |
echo "WordPress Upgrade complete!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment