debug: add more detailed debug output for RC version selection

Adding debug to understand why RC version selection isn't working
This commit is contained in:
Pulse Monitor 2025-08-24 15:29:22 +00:00
parent 4d86231c9a
commit 65b3a1dfc5

View file

@ -959,6 +959,7 @@ main() {
# Debug output to see what's happening
print_info "DEBUG: You selected option $choice"
print_info "DEBUG: RC_VERSION=$RC_VERSION, STABLE_VERSION=$STABLE_VERSION, CURRENT_VERSION=$CURRENT_VERSION"
# Determine what action to take based on the dynamic menu
local action=""
@ -977,10 +978,12 @@ main() {
# Check if user selected RC update
if [[ -n "$RC_VERSION" ]] && [[ "$RC_VERSION" != "$STABLE_VERSION" ]] && [[ "$RC_VERSION" != "$CURRENT_VERSION" ]]; then
print_info "DEBUG: RC section - choice=$choice, current_choice=$current_choice"
if [[ "$choice" == "$current_choice" ]]; then
action="update"
target_version="$RC_VERSION"
UPDATE_CHANNEL="rc"
print_info "DEBUG: RC update selected, target=$target_version"
fi
((current_choice++))
fi