From aafed2a742c011fec65c191ba36985b8ecaf6116 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 20 Feb 2022 09:41:27 +0100 Subject: [PATCH] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index ab2a509..faa12b5 100644 --- a/scripts/install +++ b/scripts/install @@ -98,7 +98,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1 ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" --source_id="front" -ynh_setup_source --dest_dir="$final_path/vikunja" --source_id="$architecture" +#ynh_setup_source --dest_dir="$final_path/vikunja" --source_id="$architecture" chmod 750 "$final_path" chmod -R o-rwx "$final_path" @@ -133,6 +133,7 @@ ynh_script_progression --message="Adding a configuration file..." --weight=1 mkdir -p "/etc/vikunja" redis_db=$(ynh_redis_get_free_db) ynh_add_config --template="../conf/config.yml" --destination="/etc/vikunja/config.yml" + chmod 400 "/etc/vikunja/config.yml" chown $app:$app "/etc/vikunja/config.yml"