From f12a568a3179511ebf6244f8a5a49d474676c60f Mon Sep 17 00:00:00 2001 From: polytan02 Date: Wed, 22 Feb 2017 15:23:34 +0000 Subject: [PATCH] Update restore --- scripts/restore | 7 +++++++ 1 file changed, 7 insertions(+) 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"