From 06eaba38ee6e5253bae8bb908760984a3d7bf461 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 25 Nov 2021 12:47:06 +0100 Subject: [PATCH] Fix --- conf/config.yaml.default | 2 +- scripts/install | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/conf/config.yaml.default b/conf/config.yaml.default index d284176..14633fe 100644 --- a/conf/config.yaml.default +++ b/conf/config.yaml.default @@ -42,7 +42,7 @@ sync: max_bulk_sync_records: 32 plugins: - #plugin_location: '__FINALPATH__/example-plugins' + plugin_location: '__FINALPATH__/plugins' # each key here corresponds to a folder name in the plugins folder, so `email` # below would be a plugin at /var/www/turtl/server/plugins/email (see the # example-plugins/ folder for an email plugin you can use) diff --git a/scripts/install b/scripts/install index 4980edf..f86c0d1 100755 --- a/scripts/install +++ b/scripts/install @@ -95,7 +95,9 @@ ynh_script_progression --message="Setting up source files..." --weight=3 ynh_app_setting_set --app=$app --key=final_path --value=$final_path git clone https://github.com/turtl/server "$final_path" --quiet -mkdir -p $final_path/plugins +#mkdir -p $final_path/plugins + +mv $final_path/example-plugins $final_path/plugins chmod 750 "$final_path" chmod -R o-rwx "$final_path"