| 
				
			 | 
			
			
				@@ -297,10 +297,6 @@ function update_prosody_modules { 
			 | 
		
	
		
			
			| 
				297
			 | 
			
				297
			 | 
			
			
				         chown -R prosody:prosody /var/lib/prosody/prosody-modules 
			 | 
		
	
		
			
			| 
				298
			 | 
			
				298
			 | 
			
			
				     fi 
			 | 
		
	
		
			
			| 
				299
			 | 
			
				299
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				300
			 | 
			
				
			 | 
			
			
				-    cd /var/lib/prosody/prosody-modules 
			 | 
		
	
		
			
			| 
				301
			 | 
			
				
			 | 
			
			
				-    hg pull 
			 | 
		
	
		
			
			| 
				302
			 | 
			
				
			 | 
			
			
				-    hg update 
			 | 
		
	
		
			
			| 
				303
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				304
			 | 
			
				300
			 | 
			
			
				     # change to using pep rather than profile modules 
			 | 
		
	
		
			
			| 
				305
			 | 
			
				301
			 | 
			
			
				     if grep '"profile"' /etc/prosody/prosody.cfg.lua; then 
			 | 
		
	
		
			
			| 
				306
			 | 
			
				302
			 | 
			
			
				         sed -i 's|"profile"|"pep"|g' /etc/prosody/prosody.cfg.lua 
			 |