From b71dc520ab6ff6f4ffdbc8e55888b3a1683fcdd1 Mon Sep 17 00:00:00 2001 From: polytan02 Date: Fri, 17 Feb 2017 19:15:14 +0000 Subject: [PATCH] Use of cp sources/. instead of cp sources/* --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 1d6ff65..538d281 100644 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index 251e525..dd8268d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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