Skip to content

Instantly share code, notes, and snippets.

@MoritzBuetzer
Created January 22, 2015 13:25
Show Gist options
  • Save MoritzBuetzer/a5c384175fe04ff0aa59 to your computer and use it in GitHub Desktop.
Save MoritzBuetzer/a5c384175fe04ff0aa59 to your computer and use it in GitHub Desktop.
simple TYPO3 update script
#!/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 $*!"
@MoritzBuetzer
Copy link
Author

how-to:
./updatet3.sh 7.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment