| 
				
			 | 
			
			
				@@ -8532,8 +8532,14 @@ function install_gnu_social { 
			 | 
		
	
		
			
			| 
				8532
			 | 
			
				8532
			 | 
			
			
				         exit 72357 
			 | 
		
	
		
			
			| 
				8533
			 | 
			
				8533
			 | 
			
			
				     fi 
			 | 
		
	
		
			
			| 
				8534
			 | 
			
				8534
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				8535
			 | 
			
				
			 | 
			
			
				-    # Some useful settings 
			 | 
		
	
		
			
			| 
				
			 | 
			
				8535
			 | 
			
			
				+    # check microblog has a config file 
			 | 
		
	
		
			
			| 
				8536
			 | 
			
				8536
			 | 
			
			
				     microblog_config_file=/var/www/$MICROBLOG_DOMAIN_NAME/htdocs/config.php 
			 | 
		
	
		
			
			| 
				
			 | 
			
				8537
			 | 
			
			
				+    if [ ! -f $microblog_config_file ]; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				8538
			 | 
			
			
				+        echo $'Microblog config.php not found' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				8539
			 | 
			
			
				+        exit 87586 
			 | 
		
	
		
			
			| 
				
			 | 
			
				8540
			 | 
			
			
				+    fi 
			 | 
		
	
		
			
			| 
				
			 | 
			
				8541
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				8542
			 | 
			
			
				+    # Some useful settings 
			 | 
		
	
		
			
			| 
				8537
			 | 
			
				8543
			 | 
			
			
				     if ! grep -q "Recommended GNU social settings" $microblog_config_file; then 
			 | 
		
	
		
			
			| 
				8538
			 | 
			
				8544
			 | 
			
			
				         echo "" >> $microblog_config_file 
			 | 
		
	
		
			
			| 
				8539
			 | 
			
				8545
			 | 
			
			
				         echo "// Recommended GNU social settings" >> $microblog_config_file 
			 |