mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
Update ynh_add_config
This commit is contained in:
parent
06f73c81b8
commit
0772ca053c
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ ynh_replace_vars () {
|
|||
# Replace othes variables
|
||||
|
||||
# List other unique (__ __) variables in $file
|
||||
local uniques_vars=( $(grep -o '__[A-Z0-9]+__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g" ))
|
||||
local uniques_vars=( $(grep -o '__[A-Z0-9_]*__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g" ))
|
||||
|
||||
# Do the replacement
|
||||
local delimit=@
|
||||
|
|
Loading…
Add table
Reference in a new issue