1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/turtl_ynh.git synced 2024-09-03 20:26:35 +02:00
This commit is contained in:
ericgaspar 2021-11-25 12:47:06 +01:00
parent 838e9b1d52
commit 06eaba38ee
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 2 deletions

View file

@ -42,7 +42,7 @@ sync:
max_bulk_sync_records: 32 max_bulk_sync_records: 32
plugins: plugins:
#plugin_location: '__FINALPATH__/example-plugins' plugin_location: '__FINALPATH__/plugins'
# each key here corresponds to a folder name in the plugins folder, so `email` # 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 # below would be a plugin at /var/www/turtl/server/plugins/email (see the
# example-plugins/ folder for an email plugin you can use) # example-plugins/ folder for an email plugin you can use)

View file

@ -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 ynh_app_setting_set --app=$app --key=final_path --value=$final_path
git clone https://github.com/turtl/server "$final_path" --quiet 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 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"