mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
lxc-forgejo: Expand unbound variables to empty strings to suppress 'unbound variable' errors
This commit is contained in:
parent
1775053616
commit
93c62470b3
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ else
|
||||||
msg_ok "Database ${BL}SQLite${CL} will be used"
|
msg_ok "Database ${BL}SQLite${CL} will be used"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "$DB_CHOICE" ]]; then
|
if [[ -n "${DB_CHOICE:-}" ]]; then
|
||||||
read -r -p "Would you like to add Adminer? <y/N> " prompt
|
read -r -p "Would you like to add Adminer? <y/N> " prompt
|
||||||
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
|
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
|
||||||
msg_info "Installing Adminer"
|
msg_info "Installing Adminer"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue