diff --git a/scripts/restore b/scripts/restore index 2f532ee..23c300f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -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"