Browse Source

Changing peertube signup state

Bob Mottram 7 years ago
parent
commit
09759b7da5
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/freedombone-app-peertube

+ 2
- 2
src/freedombone-app-peertube View File

@@ -141,8 +141,8 @@ function peertube_disable_signups {
141 141
            --yesno $"\nDo you wish to disable further PeerTube signups?" 8 75
142 142
     sel=$?
143 143
     case $sel in
144
-        0) sed "0,/RE/s/enabled:.*/enabled: false/" $PEERTUBE_DIR/config/production.yaml;;
145
-        1) sed "0,/RE/s/enabled:.*/enabled: true/" $PEERTUBE_DIR/config/production.yaml;;
144
+        0) sed -i "0,/enabled:.*/s//enabled: false/" $PEERTUBE_DIR/config/production.yaml;;
145
+        1) sed -i "0,/enabled:.*/s//enabled: true/" $PEERTUBE_DIR/config/production.yaml;;
146 146
         255) return;;
147 147
     esac
148 148