From a4bd3c4fe0972eb357c4888d66911ee246d53f41 Mon Sep 17 00:00:00 2001 From: Endial Fang Date: Fri, 4 Aug 2023 11:13:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=20APP=5FNAME=20?= =?UTF-8?q?=E6=9C=AA=E5=AE=9A=E4=B9=89=E6=97=B6=E8=84=9A=E6=9C=AC=E9=80=80?= =?UTF-8?q?=E5=87=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prebuilds/usr/local/scripts/libcommon.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/prebuilds/usr/local/scripts/libcommon.sh b/prebuilds/usr/local/scripts/libcommon.sh index 08234ce..7ba6b58 100644 --- a/prebuilds/usr/local/scripts/libcommon.sh +++ b/prebuilds/usr/local/scripts/libcommon.sh @@ -10,13 +10,13 @@ # 打印包含包含Logo的欢迎信息 print_welcome_info() { - [[ -n "${APP_NAME}" ]] && github_repo="https://github.com/colovu/docker-${APP_NAME}" + [[ -n "${APP_NAME:-}" ]] && github_repo="https://github.com/colovu/docker-${APP_NAME}" - LOG_I ' ____ _ ' - LOG_I ' / ___|___ | | _____ ___ _ ' - LOG_I '| | / _ \| |/ _ \ \ / / | | | '"Docker : ${BOLD}${APP_NAME:-undefined}${RESET}" - LOG_I '| |__| (_) | | (_) \ V /| |_| | '"Version: ${BOLD}${APP_VER:-0.0}${RESET}" - LOG_I ' \____\___/|_|\___/ \_/ \__,_| '"PowerBy: ${BOLD}Endial@126.com${RESET}" + LOG_I " ____ _ " + LOG_I " / ___|___ | | _____ ___ _ " + LOG_I "| | / _ \| |/ _ \ \ / / | | | Docker : ${BOLD}${APP_NAME:-undefined}${RESET}" + LOG_I "| |__| (_) | | (_) \ V /| |_| | Version: ${BOLD}${APP_VER:-0.0}${RESET}" + LOG_I " \____\___/|_|\___/ \_/ \__,_| PowerBy: ${BOLD}Endial@126.com${RESET}" LOG_D " Project Repo: ${github_repo:-}" LOG_I "" }