Update mariadb-install.sh

This commit is contained in:
tteckster 2022-03-17 17:40:00 -04:00 committed by GitHub
parent fe45be4724
commit 03b675b58e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,8 +68,6 @@ echo -e "${CM}${CL} \r"
echo -en "${GN} Installing Adminer... " echo -en "${GN} Installing Adminer... "
sudo apt install adminer -y &>/dev/null sudo apt install adminer -y &>/dev/null
sudo a2enconf adminer &>/dev/null sudo a2enconf adminer &>/dev/null
mkdir /var/log/apache2
chmod 750 /var/log/apache2
sudo systemctl reload apache2 &>/dev/null sudo systemctl reload apache2 &>/dev/null
echo -e "${CM}${CL} \r" echo -e "${CM}${CL} \r"
@ -95,4 +93,6 @@ echo -en "${GN} Cleanup... "
apt-get autoremove >/dev/null apt-get autoremove >/dev/null
apt-get autoclean >/dev/null apt-get autoclean >/dev/null
rm -rf /var/{cache,log}/* /var/lib/apt/lists/* rm -rf /var/{cache,log}/* /var/lib/apt/lists/*
mkdir /var/log/apache2
chmod 750 /var/log/apache2
echo -e "${CM}${CL} \n" echo -e "${CM}${CL} \n"