Created
August 2, 2013 09:53
-
-
Save cedricziel/6138766 to your computer and use it in GitHub Desktop.
Update TYPO3
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 -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