Put both files in the same directory. Execute the downloader - script
/bin/bash typo3_download_latest.sh
The script will check, if the downloaded file exists already, if not download it.
| #!/bin/bash | |
| ### | |
| # This script install puppet version 3.7 (or better latest) on debian etch | |
| MAJOR_VERSION=$(cat /etc/debian_version | cut -d'.' -f 1) | |
| if [ $MAJOR_VERSION -ne 4 ] | |
| then | 
| class profile::www::typo3::wheezy { | |
| # debian specific | |
| $cli_inifile = '/etc/php5/cli/php.ini' | |
| file { '/etc/php5': | |
| ensure => 'directory' | |
| } -> | |
| file { '/etc/php5/cli': | 
| #!/bin/bash | |
| CF=~/.git-dprz.sh | |
| function info { | |
| cat <<- INFO | |
| -- Script for downloading PRIVATE(!) git-repos as tar-archive on old systems (like Debian Etch) | |
| -- That only have old git - binaries | |
| -- | 
| #!/usr/bin/php | |
| <?php | |
| class ConfigManager { | |
| var $lines; | |
| var $pathFilename; | |
| var $uninstallExtensions; | |
| public function __construct(){ |