Browse Source

Change phpMyAdmin Download Fixed Issue #251

old-stable
Mitesh Shah 11 years ago
parent
commit
306b7cfc7c
  1. 15
      usr/local/sbin/easyengine

15
usr/local/sbin/easyengine

@ -530,14 +530,21 @@ INSTALLPMA()
then
if [ ! -d /var/www/22222/htdocs/db/pma ]
then
echo -e "\033[34mCloning phpMyAdmin, Please Wait...\e[0m"
echo -e "\033[34mDownloading phpMyAdmin, Please Wait...\e[0m"
# Setup PMA/phpMyAdmin
mkdir -p /var/www/22222/htdocs/db/pma/ || OwnError "Unable To Create phpMyAdmin Directory: /var/www/22222/htdocs/db/pma/"
# Clone PMA/phpMyAdmin Stable Branch
git clone -b STABLE https://github.com/phpmyadmin/phpmyadmin.git /var/www/22222/htdocs/db/pma/ &>> $INSTALLLOG \
|| OwnError "Unable To Clone phpMyAdmin"
# Download PMA/phpMyAdmin
wget --no-check-certificate -cqO /var/www/22222/htdocs/db/pma/pma.tar.gz https://github.com/phpmyadmin/phpmyadmin/archive/STABLE.tar.gz \
|| OwnError "Unable To Download phpMyAdmin"
# Extract PMA/phpMyAdmin
tar --strip-components=1 -zxf /var/www/22222/htdocs/db/pma/pma.tar.gz -C /var/www/22222/htdocs/db/pma/ \
|| OwnError "Unable To Extract phpMyAdmin"
# Remove Unwanted Files
rm -f /var/www/22222/htdocs/db/pma/pma.tar.gz
fi

Loading…
Cancel
Save