Suppression archive phpMyAdmin et téléchargement direct
This commit is contained in:
parent
284992565d
commit
ee86341ce5
@ -5,7 +5,7 @@ DIR=/vagrant
|
|||||||
DIRDATA=$DIR/data
|
DIRDATA=$DIR/data
|
||||||
MYSQL_PASS=scores
|
MYSQL_PASS=scores
|
||||||
MARIADB_VERSION="10.0"
|
MARIADB_VERSION="10.0"
|
||||||
PHPMYADMIN_VERSION="4.5.1"
|
PHPMYADMIN_VERSION="4.5.2"
|
||||||
|
|
||||||
# --- Add a file action.upgrade to perfom a system upgrade
|
# --- Add a file action.upgrade to perfom a system upgrade
|
||||||
if [ -f $DIR/action.upgrade ]
|
if [ -f $DIR/action.upgrade ]
|
||||||
@ -106,8 +106,10 @@ fi
|
|||||||
|
|
||||||
# --- Installation phpMyAdmin
|
# --- Installation phpMyAdmin
|
||||||
PHPMYADMIN_PATH="phpMyAdmin-$PHPMYADMIN_VERSION-all-languages"
|
PHPMYADMIN_PATH="phpMyAdmin-$PHPMYADMIN_VERSION-all-languages"
|
||||||
if [ ! -d "/home/vhosts/$PHPMYADMIN_PATH" ]
|
PHPMYADMIN_URL="https://files.phpmyadmin.net/phpMyAdmin"
|
||||||
|
if [ ! -d "/home/vhosts/$PHPMYADMIN_VERSION/$PHPMYADMIN_PATH" ]
|
||||||
then
|
then
|
||||||
|
wget "$PHPMYADMIN_URL/$PHPMYADMIN_VERSION/$PHPMYADMIN_PATH.tar.xz" -O "$DIRDATA/Apps/$PHPMYADMIN_PATH.tar.xz"
|
||||||
if [ -f "$DIRDATA/Apps/$PHPMYADMIN_PATH.tar.xz" ]
|
if [ -f "$DIRDATA/Apps/$PHPMYADMIN_PATH.tar.xz" ]
|
||||||
then
|
then
|
||||||
tar xJvf "$DIRDATA/Apps/$PHPMYADMIN_PATH.tar.xz" --directory /home/vhosts/
|
tar xJvf "$DIRDATA/Apps/$PHPMYADMIN_PATH.tar.xz" --directory /home/vhosts/
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user