|  | 
 |  | 
 | 
												
													
														| 47 |  PLEROMA_PORT=4000
 | 47 |  PLEROMA_PORT=4000
 | 
												
													
														| 48 |  PLEROMA_ONION_PORT=8011
 | 48 |  PLEROMA_ONION_PORT=8011
 | 
												
													
														| 49 |  PLEROMA_REPO="https://git.pleroma.social/pleroma/pleroma.git"
 | 49 |  PLEROMA_REPO="https://git.pleroma.social/pleroma/pleroma.git"
 | 
												
													
														| 50 | -PLEROMA_COMMIT='2f291576e4eef95e6867348e24bc526058518095'
 |  | 
 | 
												
													
														|  | 
 | 50 | +PLEROMA_COMMIT='460062f2b04220ffcd8f20aa842cc95582d1f849'
 | 
												
													
														| 51 |  PLEROMA_ADMIN_PASSWORD=
 | 51 |  PLEROMA_ADMIN_PASSWORD=
 | 
												
													
														| 52 |  PLEROMA_DIR=/etc/pleroma
 | 52 |  PLEROMA_DIR=/etc/pleroma
 | 
												
													
														| 53 |  PLEROMA_SECRET_KEY=""
 | 53 |  PLEROMA_SECRET_KEY=""
 | 
												
											
												
													
														|  | 
 |  | 
 | 
												
													
														| 570 |             --yesno $"\\nDo you wish to disable new registrations?" 10 60
 | 570 |             --yesno $"\\nDo you wish to disable new registrations?" 10 60
 | 
												
													
														| 571 |      sel=$?
 | 571 |      sel=$?
 | 
												
													
														| 572 |      case $sel in
 | 572 |      case $sel in
 | 
												
													
														| 573 | -        0) sed -i 's|registrations_open:.*|registrations_open: false,|g' $PLEROMA_DIR/config/config.exs
 |  | 
 | 
												
													
														|  | 
 | 573 | +        0) sed -i 's|registrations_open:.*|registrations_open: false|g' $PLEROMA_DIR/config/config.exs
 | 
												
													
														| 574 |             sed -i 's|"registrationOpen":.*|"registrationOpen": false,|g' $PLEROMA_DIR/priv/static/static/config.json
 | 574 |             sed -i 's|"registrationOpen":.*|"registrationOpen": false,|g' $PLEROMA_DIR/priv/static/static/config.json
 | 
												
													
														| 575 |             ;;
 | 575 |             ;;
 | 
												
													
														| 576 | -        1) sed -i 's|registrations_open:.*|registrations_open: true,|g' $PLEROMA_DIR/config/config.exs
 |  | 
 | 
												
													
														|  | 
 | 576 | +        1) sed -i 's|registrations_open:.*|registrations_open: true|g' $PLEROMA_DIR/config/config.exs
 | 
												
													
														| 577 |             sed -i 's|"registrationOpen":.*|"registrationOpen": true,|g' $PLEROMA_DIR/priv/static/static/config.json
 | 577 |             sed -i 's|"registrationOpen":.*|"registrationOpen": true,|g' $PLEROMA_DIR/priv/static/static/config.json
 | 
												
													
														| 578 |             ;;
 | 578 |             ;;
 | 
												
													
														| 579 |          255) return;;
 | 579 |          255) return;;
 |