code refactoring

This commit is contained in:
tteckster
2023-03-08 15:37:32 -05:00
committed by GitHub
parent 6d2a8a2ec4
commit 7305fa4f0a
6 changed files with 4 additions and 43 deletions

View File

@ -207,12 +207,6 @@ msg_ok "Installed PostgreSQL"
read -r -p "Would you like to add Adminer? <y/N> " prompt
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
ADMINER="Y"
else
ADMINER="N"
fi
if [[ $ADMINER == "Y" ]]; then
msg_info "Installing Adminer"
$STD apt install -y adminer
$STD sudo a2enconf adminer