mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
Update restore
This commit is contained in:
parent
676fac82f3
commit
f12a568a31
1 changed files with 7 additions and 0 deletions
|
@ -24,6 +24,13 @@ sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|
|||
src_path="/var/www/${app}"
|
||||
sudo cp -a ./sources "$src_path"
|
||||
|
||||
# Restore composer
|
||||
#
|
||||
# TO BE TESTED AND VALIDATED
|
||||
#
|
||||
cp -a ./flarum_composer /opt/flarum_composer
|
||||
cp -a ./local_composer /usr/local/bin/composer
|
||||
|
||||
# Restore permissions to app files
|
||||
# you may need to make some file and/or directory writeable by www-data (nginx user)
|
||||
sudo chown -R root: "$src_path"
|
||||
|
|
Loading…
Reference in a new issue