From 033ec6731ad440de0dc3b6b7ead9bb5292baf38d Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Fri, 16 May 2025 11:00:26 +0200 Subject: [PATCH] Set default value for TAGS in config_file function to ensure tags are initialized --- misc/build.func | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/build.func b/misc/build.func index 7575bb30..fc3f98bd 100644 --- a/misc/build.func +++ b/misc/build.func @@ -1234,6 +1234,7 @@ config_file() { if [[ -n "${TAGS-}" ]]; then echo -e "${NETWORK}${BOLD}${DGN}Tags: ${BGN}$TAGS${CL}" else + TAGS="community-scripts;" if ADV_TAGS=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set Custom Tags?[If you remove all, there will be no tags!]" 8 58 "${TAGS}" --title "Advanced Tags" 3>&1 1>&2 2>&3); then if [ -n "${ADV_TAGS}" ]; then ADV_TAGS=$(echo "$ADV_TAGS" | tr -d '[:space:]')