various corrections to permit succesfull builds
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user