mirror of
https://github.com/YunoHost-Apps/searxng_ynh.git
synced 2024-09-03 20:26:00 +02:00
Fix forgotten template perm file
This commit is contained in:
parent
042d524186
commit
e1befcaf01
1 changed files with 2 additions and 2 deletions
|
@ -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
|
# FIXME: this should be handled by the core in the future
|
||||||
# You may need to use chmod 600 instead of 400,
|
# 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
|
# for example if the app is expected to be able to modify its own config
|
||||||
chmod 400 "$final_path/some_config_file"
|
chmod 400 "$final_path/searx/settings.yml"
|
||||||
chown $app:$app "$final_path/some_config_file"
|
chown $app:$app "$final_path/searx/settings.yml"
|
||||||
|
|
||||||
### For more complex cases where you want to replace stuff using regexes,
|
### 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)
|
### you shoud rely on ynh_replace_string (which is basically a wrapper for sed)
|
||||||
|
|
Loading…
Reference in a new issue