From ab9cedaaaef02db24acd6735fb9d88fdccedcaaf Mon Sep 17 00:00:00 2001 From: Sophia Atkinson Date: Wed, 19 Oct 2022 20:35:02 -0700 Subject: [PATCH] Update 'scripts/mariadbinstall.sh' --- scripts/mariadbinstall.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/mariadbinstall.sh b/scripts/mariadbinstall.sh index 42f8cfb..a6aad2d 100644 --- a/scripts/mariadbinstall.sh +++ b/scripts/mariadbinstall.sh @@ -11,4 +11,14 @@ fi apt update && apt upgrade -y sudo apt install wget software-properties-common dirmngr ca-certificates apt-transport-https -y sudo apt install mariadb-server mariadb-client -y -sudo mysql_secure_installation \ No newline at end of file +sudo mysql_secure_installation + +while [ "$go" != 'y' ] && [ "$go" != 'n' ]; do + read -p "Would you also like to install phpMyAdmin? (y/n) " go +done + +if [ "$go" == 'n' ]; then + exit +fi + +wget -O pmainstall.sh https://sop.wtf/sh/pmainstall && bash pmainstall.sh \ No newline at end of file