Skip to content

Instantly share code, notes, and snippets.

@cedricziel
Created August 2, 2013 09:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cedricziel/6138766 to your computer and use it in GitHub Desktop.
Save cedricziel/6138766 to your computer and use it in GitHub Desktop.
Update TYPO3
# !/bin/sh -e
# Remove old
rm $1.tgz
# get new Package
wget get.typo3.org/$1 -O $1.tgz
# Extract
tar xzvf $1.tgz
#Enable Error Checking
rm typo3_src$1
folder=`tar ztf $1.tgz | egrep '^[^/]+/?$'`
echo $folder
ln -s /usr/local/share/typo3/$folder typo3_src$1
# Restart Apache
service apache2 restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment