From 02a791895e0b8d5dabe71976e8228f3b1dfd0353 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 14 Apr 2022 14:01:22 -0400 Subject: [PATCH] Update debian-v3.sh --- ct/debian-v3.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/ct/debian-v3.sh b/ct/debian-v3.sh index 8a6d44b8..1adeb340 100644 --- a/ct/debian-v3.sh +++ b/ct/debian-v3.sh @@ -116,14 +116,9 @@ 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=$NSAPP; - HN=$NSAPP - fi - if [ $CT_NAME ]; then - HN=$(echo ${CT_NAME,,} | tr -d ' ') - fi - echo -en "${GN}Set CT Name To ${BL}$CT_NAME${CL}" + 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 clear