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

update to new download server

Phpmyadmin has changed download servers. They left sourceforge.
This commit is contained in:
polytan02 2015-07-04 21:35:24 +01:00
parent 2b16523bd5
commit 729a9bd73a

View file

@ -21,7 +21,7 @@ version=$(cat upstream_version)
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