| 
				
			 | 
			
			
				@@ -524,10 +524,22 @@ function install_gnusocial_plugin_sharings { 
			 | 
		
	
		
			
			| 
				524
			 | 
			
				524
			 | 
			
			
				 	# Languages 
			 | 
		
	
		
			
			| 
				525
			 | 
			
				525
			 | 
			
			
				 	cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Sharings/locale/en/LC_MESSAGES 
			 | 
		
	
		
			
			| 
				526
			 | 
			
				526
			 | 
			
			
				 	msgfmt -o Sharings.mo Sharings.po 
			 | 
		
	
		
			
			| 
				
			 | 
			
				527
			 | 
			
			
				+	if [ ! -f Sharings.po ]; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				528
			 | 
			
			
				+		echo $'English translations for GNU Social sharings plugin were not created' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				529
			 | 
			
			
				+		exit 84352 
			 | 
		
	
		
			
			| 
				
			 | 
			
				530
			 | 
			
			
				+	fi 
			 | 
		
	
		
			
			| 
				527
			 | 
			
				531
			 | 
			
			
				 	cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Sharings/locale/en_GB/LC_MESSAGES 
			 | 
		
	
		
			
			| 
				528
			 | 
			
				532
			 | 
			
			
				 	msgfmt -o Sharings.mo Sharings.po 
			 | 
		
	
		
			
			| 
				
			 | 
			
				533
			 | 
			
			
				+	if [ ! -f Sharings.po ]; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				534
			 | 
			
			
				+		echo $'English (GB) translations for GNU Social sharings plugin were not created' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				535
			 | 
			
			
				+		exit 84352 
			 | 
		
	
		
			
			| 
				
			 | 
			
				536
			 | 
			
			
				+	fi 
			 | 
		
	
		
			
			| 
				529
			 | 
			
				537
			 | 
			
			
				 	cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs/local/plugins/Sharings/locale/en_US/LC_MESSAGES 
			 | 
		
	
		
			
			| 
				530
			 | 
			
				538
			 | 
			
			
				 	msgfmt -o Sharings.mo Sharings.po 
			 | 
		
	
		
			
			| 
				
			 | 
			
				539
			 | 
			
			
				+	if [ ! -f Sharings.po ]; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				540
			 | 
			
			
				+		echo $'English (US) translations for GNU Social sharings plugin were not created' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				541
			 | 
			
			
				+		exit 84352 
			 | 
		
	
		
			
			| 
				
			 | 
			
				542
			 | 
			
			
				+	fi 
			 | 
		
	
		
			
			| 
				531
			 | 
			
				543
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				532
			 | 
			
				544
			 | 
			
			
				 	chown -R www-data:www-data /var/www/$MICROBLOG_DOMAIN_NAME/htdocs 
			 | 
		
	
		
			
			| 
				533
			 | 
			
				545
			 | 
			
			
				  
			 |