From e64ecb97738e076ca89a74af5549e0d768851e3e Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com> Date: Mon, 20 Jan 2025 15:11:42 +0100 Subject: [PATCH] Testing (#1612) --- misc/build.func | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/misc/build.func b/misc/build.func index a0510eda..c8f0920d 100644 --- a/misc/build.func +++ b/misc/build.func @@ -675,14 +675,10 @@ advanced_settings() { 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:]') # Remove whitespace from ADV_TAGS - if [[ "$ADV_TAGS" != *"community-script"* ]]; then - TAGS="community-script;${ADV_TAGS}" - else - TAGS="${ADV_TAGS}" # ADV_TAGS already contains "community-script" - fi + ADV_TAGS=$(echo "$ADV_TAGS" | tr -d '[:space:]') + TAGS="${ADV_TAGS}" else - TAGS="community-script;" + TAGS=";" fi echo -e "${NETWORK}${BOLD}${DGN}Tags: ${BGN}$TAGS${CL}" else