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

Correction on wget parameters

This commit is contained in:
polytan02 2017-02-15 00:07:27 +00:00
parent 40bc57e8ce
commit 4deaa42b1c
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ ynh_app_setting_set $app admin $admin
# Copy files to the right place # Copy files to the right place
version=$(cat ../conf/upstream_version) version=$(cat ../conf/upstream_version)
sudo wget -O https://files.phpmyadmin.net/phpMyAdmin/$version/phpMyAdmin-$version-all-languages.tar.gz -O ../phpMyAdmin.tar.gz sudo wget -nv https://files.phpmyadmin.net/phpMyAdmin/$version/phpMyAdmin-$version-all-languages.tar.gz -O ../phpMyAdmin.tar.gz
#sudo tar xvzf ../phpMyAdmin.tar.gz -C .. > /dev/null 2>&1 #sudo tar xvzf ../phpMyAdmin.tar.gz -C .. > /dev/null 2>&1
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

View file

@ -18,7 +18,7 @@ CHECK_PATH # Vérifie et corrige la syntaxe du path.
# Copy files to the right place # Copy files to the right place
version=$(cat ../conf/upstream_version) version=$(cat ../conf/upstream_version)
sudo wget -O https://files.phpmyadmin.net/phpMyAdmin/$version/phpMyAdmin-$version-all-languages.tar.gz -O ../phpMyAdmin.tar.gz sudo wget -nv https://files.phpmyadmin.net/phpMyAdmin/$version/phpMyAdmin-$version-all-languages.tar.gz -O ../phpMyAdmin.tar.gz
#sudo tar xvzf ../phpMyAdmin.tar.gz -C .. > /dev/null 2>&1 #sudo tar xvzf ../phpMyAdmin.tar.gz -C .. > /dev/null 2>&1
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