From 26713b45dbe1799a818396ec500f3c64e676971e Mon Sep 17 00:00:00 2001 From: Brandon Rodriguez <brodriguez8774@gmail.com> Date: Thu, 10 Nov 2022 21:33:27 -0500 Subject: [PATCH] Remove text hiding for install commands Seems to cause hanging sometimes, unsure why. --- install_mysql.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install_mysql.sh b/install_mysql.sh index 68252b2..4b5964a 100755 --- a/install_mysql.sh +++ b/install_mysql.sh @@ -98,12 +98,12 @@ function install_ubuntu_mysql () { echo "Installing MySQL..." # Install MariaDB. - sudo apt-get update > /dev/null 2>&1 - sudo apt-get install mysql-server mysql-client -y > /dev/null + sudo apt-get update + sudo apt-get install mysql-server mysql-client -y # Start MariaDB service and set to start on boot. - systemctl enable mysql.service > /dev/null - systemctl start mysql.service > /dev/null + systemctl enable mysql.service + systemctl start mysql.service # Proceed with initial configuration. mysql_secure_installation @@ -113,7 +113,7 @@ function install_ubuntu_mysql () { get_user_confirmation "Install programming dependencies? These are necessary for things like serving Django projects." if [[ ${return_value} == true ]] then - sudo apt-get install libmysqlclient-dev -y > /dev/null + sudo apt-get install libmysqlclient-dev -y fi } -- GitLab