From b2bb94e85ed9c9ecaf35d564665a81f0cb8b0b29 Mon Sep 17 00:00:00 2001 From: Limezy Date: Fri, 2 Sep 2022 00:17:46 +0700 Subject: [PATCH] Upload folder --- scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install b/scripts/install index 2e4d039..4636a0c 100755 --- a/scripts/install +++ b/scripts/install @@ -170,6 +170,11 @@ popd rsync -a "$final_path/build/output/usr/src/app/" "$final_path/web/" #ynh_secure_remove --file="$final_path/build" +# To be put back when everything stabilized + +# Shouldn't be needed, but for some reasons the server doesn't use the .env +#/home/yunohost.app/__APP__/ value and expects a ./upload directory at the root +mkdir -p "$final_path/upload" chmod 750 "$final_path" chmod -R o-rwx "$final_path"