From 0f47be9bbf4f5c18882e55bc53cdc44b7ed85b98 Mon Sep 17 00:00:00 2001 From: Dick Thomas Date: Wed, 19 Oct 2016 16:49:54 +0100 Subject: [PATCH] trying copying rather than move --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index fbd3f76..079950d 100644 --- a/scripts/install +++ b/scripts/install @@ -76,7 +76,7 @@ fi cwd=$(pwd) sudo su - www-data -s /bin/bash -c "mkdir -p $tmp/$app && cd $tmp/$app && php -d memory_limit=-1 /usr/local/bin/composer create-project flarum/flarum . --stability=beta" sudo mkdir $final_path -sudo mv $tmp/$app $final_path/.. +sudo cp -Rfv $tmp/$app $final_path/ sudo chown -R www-data:www-data $final_path cd $cwd sudo rm -rf $tmp