mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update mariadb-install.sh
- remove Adminer - fixes https://github.com/tteck/Proxmox/issues/2565
This commit is contained in:
		
							parent
							
								
									b88dc13383
								
							
						
					
					
						commit
						58f69adbd8
					
				| 
						 | 
					@ -27,15 +27,6 @@ sed -i 's/^# *\(port *=.*\)/\1/' /etc/mysql/my.cnf
 | 
				
			||||||
sed -i 's/^bind-address/#bind-address/g' /etc/mysql/mariadb.conf.d/50-server.cnf
 | 
					sed -i 's/^bind-address/#bind-address/g' /etc/mysql/mariadb.conf.d/50-server.cnf
 | 
				
			||||||
msg_ok "Installed MariaDB"
 | 
					msg_ok "Installed MariaDB"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Would you like to add Adminer? <y/N> " prompt
 | 
					 | 
				
			||||||
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
					 | 
				
			||||||
  msg_info "Installing Adminer"
 | 
					 | 
				
			||||||
  $STD apt install -y adminer
 | 
					 | 
				
			||||||
  $STD a2enconf adminer
 | 
					 | 
				
			||||||
  systemctl reload apache2
 | 
					 | 
				
			||||||
  msg_ok "Installed Adminer"
 | 
					 | 
				
			||||||
fi
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
motd_ssh
 | 
					motd_ssh
 | 
				
			||||||
customize
 | 
					customize
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue