forked from switnet/quick-jibri-installer
				
			Change to PostgreSQL as defaul DB server
Still prevent prosody custom repo.
This commit is contained in:
		
							parent
							
								
									4200becd9b
								
							
						
					
					
						commit
						1e5acb5a36
					
				| 
						 | 
				
			
			@ -101,7 +101,15 @@ fi
 | 
			
		|||
var_dlim() {
 | 
			
		||||
    grep -n $1 add-jibri-node.sh|head -n1|cut -d ":" -f1
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
add_prosody_repo() {
 | 
			
		||||
echo "Add Prosody repo"
 | 
			
		||||
if [ "$PROSODY_REPO" = "main" ]; then
 | 
			
		||||
	echo "Prosody repository already installed"
 | 
			
		||||
else
 | 
			
		||||
	echo "deb http://packages.prosody.im/debian $(lsb_release -sc) main" > /etc/apt/sources.list.d/prosody.list
 | 
			
		||||
	wget -qO - https://prosody.im/files/prosody-debian-packages.key | apt-key add -
 | 
			
		||||
fi
 | 
			
		||||
}
 | 
			
		||||
clear
 | 
			
		||||
echo '
 | 
			
		||||
########################################################################
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue