Update install.sh

This commit is contained in:
midoks 2022-08-06 12:03:30 +08:00
parent ee412f7613
commit 2c2c1b8944
1 changed files with 3 additions and 2 deletions

View File

@ -35,13 +35,14 @@ Install_phpmyadmin()
mkdir -p ${serverPath}/source/phpmyadmin
VER=$1
FILE=phpMyAdmin-${VER}-all-languages.tar.gz
FDIR=phpMyAdmin-${VER}-all-languages
FILE=phpMyAdmin-${VER}-all-languages.tar.gz
DOWNLOAD=https://files.phpmyadmin.net/phpMyAdmin/${VER}/$FILE
if [ ! -f $serverPath/source/phpmyadmin/$FILE ];then
wget -O $serverPath/source/phpmyadmin/$FILE $DOWNLOAD
wget --no-check-certificate -O $serverPath/source/phpmyadmin/$FILE $DOWNLOAD
fi
if [ ! -d $serverPath/source/phpmyadmin/$FDIR ];then