| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															205
														 | 
														
															         exit 5282682 
														 | 
														
															205
														 | 
														
															         exit 5282682 
														 | 
													
												
													
														| 
															206
														 | 
														
															     fi 
														 | 
														
															206
														 | 
														
															     fi 
														 | 
													
												
													
														| 
															207
														 | 
														
															  
														 | 
														
															207
														 | 
														
															  
														 | 
													
												
													
														| 
															208
														 | 
														
															-    mv $INSTALL_DIR/pleroma/dist/index.html $INSTALL_DIR/pleroma/dist/pleroma.html 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															209
														 | 
														
															     cp -r $INSTALL_DIR/pleroma/dist/* /var/www/${pleroma_domain}/htdocs/ 
														 | 
														
															208
														 | 
														
															     cp -r $INSTALL_DIR/pleroma/dist/* /var/www/${pleroma_domain}/htdocs/ 
														 | 
													
												
													
														| 
															210
														 | 
														
															  
														 | 
														
															209
														 | 
														
															  
														 | 
													
												
													
														| 
															211
														 | 
														
															     pleroma_set_background_image_from_url "$pleroma_domain" "$background_url" "$title" 
														 | 
														
															210
														 | 
														
															     pleroma_set_background_image_from_url "$pleroma_domain" "$background_url" "$title" 
														 | 
													
												
													
														| 
															212
														 | 
														
															  
														 | 
														
															211
														 | 
														
															  
														 | 
													
												
													
														| 
															213
														 | 
														
															     nginx_site=/etc/nginx/sites-available/${pleroma_domain} 
														 | 
														
															212
														 | 
														
															     nginx_site=/etc/nginx/sites-available/${pleroma_domain} 
														 | 
													
												
													
														| 
															214
														 | 
														
															-    sed -i 's|index index.php;|index pleroma.html;|g' $nginx_site 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															213
														 | 
														
															+    sed -i 's|index index.php;|index index.html;|g' $nginx_site 
														 | 
													
												
													
														| 
															215
														 | 
														
															 } 
														 | 
														
															214
														 | 
														
															 } 
														 | 
													
												
													
														| 
															216
														 | 
														
															  
														 | 
														
															215
														 | 
														
															  
														 | 
													
												
													
														| 
															217
														 | 
														
															 function upgrade_pleroma { 
														 | 
														
															216
														 | 
														
															 function upgrade_pleroma { 
														 | 
													
												
											
												
													
														| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															228
														 | 
														
															             echo 'Unable to build pleroma' 
														 | 
														
															227
														 | 
														
															             echo 'Unable to build pleroma' 
														 | 
													
												
													
														| 
															229
														 | 
														
															             exit 268362 
														 | 
														
															228
														 | 
														
															             exit 268362 
														 | 
													
												
													
														| 
															230
														 | 
														
															         fi 
														 | 
														
															229
														 | 
														
															         fi 
														 | 
													
												
													
														| 
															231
														 | 
														
															-        mv $INSTALL_DIR/pleroma/dist/index.html $INSTALL_DIR/pleroma/dist/pleroma.html 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															232
														 | 
														
															         cp -r $INSTALL_DIR/pleroma/dist/* /var/www/${domain_name}/htdocs/ 
														 | 
														
															230
														 | 
														
															         cp -r $INSTALL_DIR/pleroma/dist/* /var/www/${domain_name}/htdocs/ 
														 | 
													
												
													
														| 
															233
														 | 
														
															         pleroma_set_background_image_from_url "$domain_name" "$background_url" "$title" 
														 | 
														
															231
														 | 
														
															         pleroma_set_background_image_from_url "$domain_name" "$background_url" "$title" 
														 | 
													
												
													
														| 
															234
														 | 
														
															     else 
														 | 
														
															232
														 | 
														
															     else 
														 |