|  | @@ -157,9 +157,9 @@ function install_qvitter {
 | 
	
		
			
			| 157 | 157 |  
 | 
	
		
			
			| 158 | 158 |  function install_pleroma {
 | 
	
		
			
			| 159 | 159 |      app_name="$1"
 | 
	
		
			
			| 160 |  | -    pleroma_domain="$1"
 | 
	
		
			
			| 161 |  | -    background_url="$2"
 | 
	
		
			
			| 162 |  | -    title="$3"
 | 
	
		
			
			|  | 160 | +    pleroma_domain="$2"
 | 
	
		
			
			|  | 161 | +    background_url="$3"
 | 
	
		
			
			|  | 162 | +    title="$4"
 | 
	
		
			
			| 163 | 163 |  
 | 
	
		
			
			| 164 | 164 |      if [ ! -d ~/build/pleroma ]; then
 | 
	
		
			
			| 165 | 165 |          function_check git_clone
 | 
	
	
		
			
			|  | @@ -184,7 +184,7 @@ function install_pleroma {
 | 
	
		
			
			| 184 | 184 |      mv ~/build/pleroma/dist/index.html ~/build/pleroma/dist/pleroma.html
 | 
	
		
			
			| 185 | 185 |      cp -r ~/build/pleroma/dist/* /var/www/$pleroma_domain/htdocs/
 | 
	
		
			
			| 186 | 186 |  
 | 
	
		
			
			| 187 |  | -    gnusocial_set_background_image_from_url "$pleroma_domain" "$background_url" "$title"
 | 
	
		
			
			|  | 187 | +    pleroma_set_background_image_from_url "$pleroma_domain" "$background_url" "$title"
 | 
	
		
			
			| 188 | 188 |  
 | 
	
		
			
			| 189 | 189 |      nginx_site=/etc/nginx/sites-available/$pleroma_domain
 | 
	
		
			
			| 190 | 190 |      sed -i 's|index index.php;|index pleroma.html;|g' $nginx_site
 |