mirror of
https://github.com/YunoHost-Apps/akkoma_ynh.git
synced 2024-09-03 20:36:17 +02:00
fix frontend switcher grep
This commit is contained in:
parent
90bdb9dcaf
commit
1788674977
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ fi
|
|||
|
||||
# Add frontend switcher if needed
|
||||
|
||||
if grep -q ':pleroma, :frontends, :pickable' $config # This is not resilient to any spacing change, to be refined
|
||||
if grep -zP 'config :pleroma, :frontends,\n\K pickable' $config # This syntax takes the new line into account # This is not resilient to any spacing change, to be refined
|
||||
then
|
||||
ynh_script_progression --message="Frontend switcher config already existing, nothing to do about it." --weight=0
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue