From c1e0b08956d95b17079c94118d47437d23b3bd0d Mon Sep 17 00:00:00 2001 From: frju365 Date: Sun, 29 Jan 2017 01:08:09 +0100 Subject: [PATCH] Update install --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 56c842b..258a338 100644 --- a/scripts/install +++ b/scripts/install @@ -25,6 +25,8 @@ fi final_path=/var/www/$app sudo mkdir -p $final_path extract_source $final_path +sudo mv $final_path/public_html/* .. +sudo rmdir $final_path/public_html # Files owned by root, www-data can just read sudo chmod 0777 $final_path/system/config.php