From af351988a7e4203eec439939ed608fe9c635214a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 19 Jun 2024 22:11:57 +0200 Subject: [PATCH] fix --- manifest.toml | 1 + scripts/install | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/manifest.toml b/manifest.toml index 8675555..d090fda 100644 --- a/manifest.toml +++ b/manifest.toml @@ -84,6 +84,7 @@ ram.runtime = "50M" [resources.install_dir] [resources.data_dir] + subdirs =["_data", "galleries", "upload"] [resources.permissions] main.url = "/" diff --git a/scripts/install b/scripts/install index 719d0af..f50651a 100644 --- a/scripts/install +++ b/scripts/install @@ -21,14 +21,11 @@ ynh_setup_source --dest_dir="$install_dir" ynh_setup_source --dest_dir="$install_dir/plugins/Ldap_Login" --source_id=ldap_plugin ynh_setup_source --dest_dir="$install_dir/plugins" --source_id=log_failed_logins_plugin -_create_data_dirs_if_required +#_create_data_dirs_if_required chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" -chmod -R o-rwx "$data_dir" -chown -R "$app:www-data" "$data_dir" - #================================================= # SYSTEM CONFIGURATIONS #=================================================