ソースを参照

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
            --yesno $"\nDo you wish to disable further PeerTube signups?" 8 75
141
            --yesno $"\nDo you wish to disable further PeerTube signups?" 8 75
142
     sel=$?
142
     sel=$?
143
     case $sel in
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
         255) return;;
146
         255) return;;
147
     esac
147
     esac
148
 
148