From 3ae075475f2cd65c0214b49e6c50a87b3e68b846 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 8 Feb 2018 17:03:33 +0000 Subject: [PATCH] Commas --- src/freedombone-app-pleroma | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/freedombone-app-pleroma b/src/freedombone-app-pleroma index 51ba4eb3..27831ecd 100755 --- a/src/freedombone-app-pleroma +++ b/src/freedombone-app-pleroma @@ -545,11 +545,11 @@ function pleroma_disable_registrations { --yesno $"\nDo you wish to disable new registrations?" 10 60 sel=$? case $sel in - 0) sed -i 's|registrations_open:.*|registrations_open: false|g' $PLEROMA_DIR/config/config.exs - sed -i 's|"registrationOpen":.*|"registrationOpen": false|g' $PLEROMA_DIR/priv/static/static/config.json + 0) sed -i 's|registrations_open:.*|registrations_open: false,|g' $PLEROMA_DIR/config/config.exs + sed -i 's|"registrationOpen":.*|"registrationOpen": false,|g' $PLEROMA_DIR/priv/static/static/config.json ;; - 1) sed -i 's|registrations_open:.*|registrations_open: true|g' $PLEROMA_DIR/config/config.exs - sed -i 's|"registrationOpen":.*|"registrationOpen": true|g' $PLEROMA_DIR/priv/static/static/config.json + 1) sed -i 's|registrations_open:.*|registrations_open: true,|g' $PLEROMA_DIR/config/config.exs + sed -i 's|"registrationOpen":.*|"registrationOpen": true,|g' $PLEROMA_DIR/priv/static/static/config.json ;; 255) return;; esac