From 309e80a9cf53345f805392e59c6edbbbfc615860 Mon Sep 17 00:00:00 2001 From: frju365 Date: Mon, 30 Jan 2017 20:42:28 +0100 Subject: [PATCH] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 1ca0d83..13f9d35 100644 --- a/scripts/install +++ b/scripts/install @@ -54,7 +54,7 @@ sudo rm -rf $final_path/install.txt sudo mv $final_path/public_html/* $final_path/ sudo rm -rf $final_path/public_html -cd $final_path/install/ +pushd $final_path/install/ sudo php cli_install.php install \ --db_host localhost \ --db_user $dbuser \ @@ -68,6 +68,7 @@ sudo php cli_install.php install \ --http_server $domain$path \ --db_prefix \ --admin_path /var/www/$app/admin/ +popd # Files owned by root, www-data can just read