Update build.func

This commit is contained in:
CanbiZ
2025-10-21 15:54:36 +02:00
parent 9c9dc863a2
commit 3e31d59d82

View File

@@ -3017,7 +3017,7 @@ create_lxc_container() {
echo ""
read -p "Download newer version? [y/N]: " answer
case "${answer,,}" in
y|yes)
y | yes)
TEMPLATE="$ONLINE_TEMPLATE"
TEMPLATE_SOURCE="online"
msg_ok "Using newer version: $TEMPLATE"
@@ -3180,7 +3180,7 @@ create_lxc_container() {
}
else
msg_info "Installation cancelled"
exit 0
exit 1
fi
else
msg_error "No ${PCT_OSTYPE} templates available"