various corrections to permit succesfull builds

This commit is contained in:
2016-05-15 22:28:59 +01:00
parent 372944dc81
commit b7072dd538
15 changed files with 201 additions and 36 deletions

View File

@@ -1,13 +1,16 @@
## phpMyAdmin
## Configuration
export_env PMA_VERSION 4.6.0
export_env PMA_ROOT /var/www/html
export_env PMA_CONFIG $PMA_ROOT/config.inc.php
## phpMyAdmin
cd /opt
wget https://files.phpmyadmin.net/phpMyAdmin/$PMA_VERSION/phpMyAdmin-$PMA_VERSION-all-languages.tar.gz
tar xzf phpMyAdmin-$PMA_VERSION-all-languages.tar.gz phpMyAdmin-$PMA_VERSION-all-languages
mv phpMyAdmin-$PMA_VERSION-*/ phpMyAdmin-$PMA_VERSION/
rm -r $PMA_ROOT/../*
ln -s /opt/phpMyAdmin-$PMA_VERSION $PMA_ROOT
rm -rf $PMA_ROOT
mkdir -p $PMA_ROOT
ln -sf /opt/phpMyAdmin-$PMA_VERSION $PMA_ROOT
## Configuration
cat << EOF > $PMA_CONFIG