1
0
Fork 0
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:
polytan02 2017-02-22 15:23:34 +00:00 committed by GitHub
parent 676fac82f3
commit f12a568a31

View file

@ -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"