소스 검색

Changing peertube signup state

Bob Mottram 7 년 전
부모
커밋
09759b7da5
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      src/freedombone-app-peertube

+ 2
- 2
src/freedombone-app-peertube 파일 보기

@@ -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