瀏覽代碼

Update debian-v3.sh

tteckster 3 年之前
父節點
當前提交
726c984d50
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      ct/debian-v3.sh

+ 1 - 3
ct/debian-v3.sh

@@ -116,9 +116,7 @@ header_info
                 echo -e "${GN}Using ID ${BGN}$CT_ID${CL}"
                 echo -e "${GN}Using ID ${BGN}$CT_ID${CL}"
                 echo -e "${YW}Enter CT Name, or Press [ENTER] for Default: $APP "
                 echo -e "${YW}Enter CT Name, or Press [ENTER] for Default: $APP "
                 read CT_NAME
                 read CT_NAME
-                if [ -z $CT_NAME ]; then HN=$(echo ${APP,,} | tr -d ' ')
-		CT_NAME=$APP
-                else 
+                if [ -z $CT_NAME ]; then CT_NAME=${APP}
                 HN=$(echo ${CT_NAME,,} | tr -d ' ') 
                 HN=$(echo ${CT_NAME,,} | tr -d ' ') 
                 fi;
                 fi;
                 echo -en "${GN}Set CT Name To ${BL}$CT_NAME${CL}"
                 echo -en "${GN}Set CT Name To ${BL}$CT_NAME${CL}"