| 
				
			 | 
			
			
				@@ -131,9 +131,8 @@ function pleroma_set_background_image_from_url { 
			 | 
		
	
		
			
			| 
				131
			 | 
			
				131
			 | 
			
			
				         fi 
			 | 
		
	
		
			
			| 
				132
			 | 
			
				132
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				133
			 | 
			
				133
			 | 
			
			
				         if [ -d /var/www/${domain_name}/htdocs/static ]; then 
			 | 
		
	
		
			
			| 
				134
			 | 
			
				
			 | 
			
			
				-            cd /var/www/${domain_name}/htdocs/static 
			 | 
		
	
		
			
			| 
				135
			 | 
			
				
			 | 
			
			
				-            cp ../bg_custom.${ext} bg_custom.${ext} 
			 | 
		
	
		
			
			| 
				136
			 | 
			
				
			 | 
			
			
				-            sed -i "s|\"background\":.*|\"background\": \"/static/bg_custom.${ext}\",|g" config.json 
			 | 
		
	
		
			
			| 
				
			 | 
			
				134
			 | 
			
			
				+            cp bg_custom.${ext} static/bg_custom.${ext} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				135
			 | 
			
			
				+            sed -i "s|\"background\":.*|\"background\": \"/static/bg_custom.${ext}\",|g" static/config.json 
			 | 
		
	
		
			
			| 
				137
			 | 
			
				136
			 | 
			
			
				         fi 
			 | 
		
	
		
			
			| 
				138
			 | 
			
				137
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				139
			 | 
			
				138
			 | 
			
			
				         qvitter_update_background ${domain_name} ${ext} 
			 |