From e1befcaf015d220865dcbdd4849ce4164f1053fb Mon Sep 17 00:00:00 2001 From: mh4ckt3mh4ckt1c4s Date: Wed, 23 Nov 2022 15:32:08 +0100 Subject: [PATCH] Fix forgotten template perm file --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 797a956..5b5be0c 100755 --- a/scripts/install +++ b/scripts/install @@ -152,8 +152,8 @@ ynh_add_config --template="../conf/settings.yml" --destination="$final_path/sear # FIXME: this should be handled by the core in the future # You may need to use chmod 600 instead of 400, # for example if the app is expected to be able to modify its own config -chmod 400 "$final_path/some_config_file" -chown $app:$app "$final_path/some_config_file" +chmod 400 "$final_path/searx/settings.yml" +chown $app:$app "$final_path/searx/settings.yml" ### For more complex cases where you want to replace stuff using regexes, ### you shoud rely on ynh_replace_string (which is basically a wrapper for sed)