Created
August 9, 2018 08:47
-
-
Save oliverthiele/8ca5df21aba9cc9164fe80db1a70ec4e to your computer and use it in GitHub Desktop.
Download TYPO3 sources and update the symlinks for easy TYPO3 Updates (classic way w/o composer)
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/bash | |
version=$1; | |
major="${version:0:1}" | |
wget get.typo3.org/$1 -O typo3_src-${1}.tar.gz | |
wget get.typo3.org/${major}/tar.gz.sig -O typo3_src-${1}.tar.gz.sig | |
wget -qO- https://get.typo3.org/KEYS | gpg --import | |
gpg --verify typo3_src-${version}.tar.gz.sig typo3_src-${version}.tar.gz | |
rm typo3_src-${version}.tar.gz.sig | |
tar -xzf typo3_src-${version}.tar.gz; | |
rm typo3_src-${version}.tar.gz | |
ln -sfT typo3_src-${version} typo3_src; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment