Created
January 22, 2015 13:25
-
-
Save MoritzBuetzer/a5c384175fe04ff0aa59 to your computer and use it in GitHub Desktop.
simple TYPO3 update script
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/sh | |
if [ ! -d "typo3_src-$*" ]; then | |
echo "download typo3 source" | |
wget http://get.typo3.org/$* | |
echo "unzip typo3 source" | |
tar xfz typo3_src-$*.tar.gz | |
rm -rf typo3_src-$*.tar.gz | |
fi | |
echo "unlink previous typo3 source" | |
unlink typo3_src | |
echo "creating symlink" | |
ln -s typo3_src-$* typo3_src | |
echo "all done and switched to version $*!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how-to:
./updatet3.sh 7.0.2