diff --git a/prebuilds/colovu/lib/libcommon.sh b/prebuilds/colovu/lib/libcommon.sh index f001030..e955b1f 100644 --- a/prebuilds/colovu/lib/libcommon.sh +++ b/prebuilds/colovu/lib/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 "" }