Skip to content

Instantly share code, notes, and snippets.

@oliverthiele
Created August 9, 2018 08:47
Show Gist options
  • Save oliverthiele/8ca5df21aba9cc9164fe80db1a70ec4e to your computer and use it in GitHub Desktop.
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)
#!/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