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

Use of cp sources/. instead of cp sources/*

This commit is contained in:
polytan02 2017-02-17 19:15:14 +00:00
parent 7238b9fc3c
commit b71dc520ab
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ sudo wget -nv https://files.phpmyadmin.net/phpMyAdmin/$version/phpMyAdmin-$versi
sudo wget -nv https://files.phpmyadmin.net/phpMyAdmin/$version/phpMyAdmin-$version-all-languages.tar.gz.sha256 -O phpMyAdmin-$version-all-languages.tar.gz.sha256
sudo sha256sum -c phpMyAdmin-$version-all-languages.tar.gz.sha256 --status || (echo "Corrupt source" >&2 && false)
sudo tar xzf phpMyAdmin-$version-all-languages.tar.gz -C ../sources/ > /dev/null 2>&1
sudo cp -r ../sources/phpMyAdmin-$version-all-languages/* $final_path
sudo cp -r ../sources/phpMyAdmin-$version-all-languages/. $final_path
# Create db
db_user=$app

View file

@ -23,7 +23,7 @@ sudo wget -nv https://files.phpmyadmin.net/phpMyAdmin/$version/phpMyAdmin-$versi
sudo wget -nv https://files.phpmyadmin.net/phpMyAdmin/$version/phpMyAdmin-$version-all-languages.tar.gz.sha256 -O phpMyAdmin-$version-all-languages.tar.gz.sha256
sudo sha256sum -c phpMyAdmin-$version-all-languages.tar.gz.sha256 --status || (echo "Corrupt source" >&2 && false)
sudo tar xzf phpMyAdmin-$version-all-languages.tar.gz -C ../sources/ > /dev/null 2>&1
sudo cp -r ../sources/phpMyAdmin-$version-all-languages/* $final_path
sudo cp -r ../sources/phpMyAdmin-$version-all-languages/. $final_path
# Update tables
sudo sed -i "s@phpmyadmin@$db_user@g" $final_path/sql/upgrade_column_info_4_3_0+.sql