mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
Merge pull request #16 from xpd259/master
Trying copying rather than move
This commit is contained in:
commit
0514fc9816
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ fi
|
||||||
cwd=$(pwd)
|
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 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 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
|
sudo chown -R www-data:www-data $final_path
|
||||||
cd $cwd
|
cd $cwd
|
||||||
sudo rm -rf $tmp
|
sudo rm -rf $tmp
|
||||||
|
|
Loading…
Reference in a new issue