From 65ed5d6915d8329cf95dd13ee0a583c3550bc03c Mon Sep 17 00:00:00 2001 From: Limezy Date: Mon, 27 Mar 2023 23:26:06 +0700 Subject: [PATCH] mkdir sessions --- scripts/install | 1 + scripts/upgrade | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 7704aef..25bf37a 100755 --- a/scripts/install +++ b/scripts/install @@ -86,6 +86,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path ynh_setup_source --dest_dir="$final_path" chmod 750 "$final_path" +ynh_exec_warn_less mkdir sessions chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index adfeccf..39e2e16 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -86,6 +86,7 @@ popd ynh_setup_source --dest_dir="$final_path" --full_replace=1 chmod 750 "$final_path" +ynh_exec_warn_less mkdir sessions chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path"