Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled

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

View File

@ -3017,16 +3017,16 @@ create_lxc_container() {
echo ""
read -p "Download newer version? [y/N]: " answer
case "${answer,,}" in
y|yes)
TEMPLATE="$ONLINE_TEMPLATE"
TEMPLATE_SOURCE="online"
msg_ok "Using newer version: $TEMPLATE"
;;
*)
TEMPLATE="$LOCAL_TEMPLATE"
TEMPLATE_SOURCE="local"
msg_ok "Using local version: $TEMPLATE"
;;
y | yes)
TEMPLATE="$ONLINE_TEMPLATE"
TEMPLATE_SOURCE="online"
msg_ok "Using newer version: $TEMPLATE"
;;
*)
TEMPLATE="$LOCAL_TEMPLATE"
TEMPLATE_SOURCE="local"
msg_ok "Using local version: $TEMPLATE"
;;
esac
else
# Same version
@ -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"