lxc-forgejo: Expand unbound variables to empty strings to suppress 'unbound variable' errors

This commit is contained in:
barremian 2024-05-29 10:48:44 +02:00
parent 1775053616
commit 93c62470b3
No known key found for this signature in database
GPG key ID: 96E431287CDD3E4A

View file

@ -115,7 +115,7 @@ else
msg_ok "Database ${BL}SQLite${CL} will be used"
fi
if [[ -n "$DB_CHOICE" ]]; then
if [[ -n "${DB_CHOICE:-}" ]]; then
read -r -p "Would you like to add Adminer? <y/N> " prompt
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
msg_info "Installing Adminer"