From eab2391cdefeb900d06a0ed9855549d9cf784dfb Mon Sep 17 00:00:00 2001 From: polytan02 Date: Sun, 19 Feb 2017 09:37:14 +0000 Subject: [PATCH] use of cp /. instead of cp /* --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 1669b414..96000b27 100644 --- a/scripts/restore +++ b/scripts/restore @@ -32,7 +32,7 @@ sudo cp -a ./yunohost/. /etc/yunohost/apps/$app/ # Restore sources & data sudo mkdir -p $final_path -sudo cp -a ./sources/* $final_path/ +sudo cp -a ./sources/. $final_path/ ynh_mysql_create_db $db_user $db_user $db_pwd mysql --debug-check -u $db_user -p$db_pwd $db_user < ./backupdb.sql