Update mariadb-install.sh

- remove Adminer
- fixes https://github.com/tteck/Proxmox/issues/2565
This commit is contained in:
tteckster 2024-02-26 15:15:17 -05:00 committed by GitHub
parent b88dc13383
commit 58f69adbd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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