1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpmyadmin_ynh.git synced 2024-09-03 19:56:46 +02:00

new download server

Phpmyadmin has stopped using sourceforge servers hence this update.
This commit is contained in:
polytan02 2015-07-04 21:29:11 +01:00
parent 2b16523bd5
commit d43172d1ff

View file

@ -24,7 +24,7 @@ final_path=/var/www/phpmyadmin
sudo rm -rf $final_path sudo rm -rf $final_path
sudo mkdir -p $final_path sudo mkdir -p $final_path
echo "Downloading phpMyAdmin $version..." echo "Downloading phpMyAdmin $version..."
sudo wget -O ../phpMyAdmin.tar.gz http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/$version/phpMyAdmin-$version-all-languages.tar.gz/download > /dev/null 2>&1 sudo wget -O ../phpMyAdmin.tar.gz https://files.phpmyadmin.net/phpMyAdmin/$version/phpMyAdmin-$version-all-languages.tar.gz > /dev/null 2>&1
echo "Extracting to $final_path..." echo "Extracting to $final_path..."
sudo tar xvzf ../phpMyAdmin.tar.gz -C .. > /dev/null 2>&1 sudo tar xvzf ../phpMyAdmin.tar.gz -C .. > /dev/null 2>&1
sudo cp -r ../phpMyAdmin-$version-all-languages/* $final_path sudo cp -r ../phpMyAdmin-$version-all-languages/* $final_path