From 9e45482198fc5c45e8663009a6f51b19d9a4bcbb Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 10 Apr 2022 12:02:05 -0400 Subject: [PATCH] Update debian-v3.sh --- ct/debian-v3.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ct/debian-v3.sh b/ct/debian-v3.sh index a18b6b98..3b6472c6 100644 --- a/ct/debian-v3.sh +++ b/ct/debian-v3.sh @@ -116,9 +116,8 @@ header_info echo -e "${GN}Using ID ${BGN}$CT_ID${CL}" echo -e "${YW}Enter CT Name (no spaces), or Press [ENTER] for Default: $APP " read CT_NAME - if [ -z $CT_NAME ]; then CT_NAME=${APP} - HN=$(echo ${CT_NAME,,} | tr -d ' ') - fi; + if [ -z $CT_NAME ]; then CT_NAME=$APP; HN=$(echo ${CT_NAME,,} | tr -d ' '); fi + if [ $CT_NAME ]; then HN=$(echo ${CT_NAME,,} | tr -d ' '); fi echo -en "${GN}Set CT Name To ${BL}$CT_NAME${CL}" echo -e " ${CM}${CL} \r" sleep 1