From 519a4575c19b33fb8cc46f4d0964e26ca51eb355 Mon Sep 17 00:00:00 2001 From: shocknet-justin Date: Thu, 27 Nov 2025 01:02:44 -0500 Subject: [PATCH] script logs --- scripts/extract_nprofile.sh | 2 +- scripts/install_lightning_pub.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/extract_nprofile.sh b/scripts/extract_nprofile.sh index c5b86610..4b8b1ed4 100644 --- a/scripts/extract_nprofile.sh +++ b/scripts/extract_nprofile.sh @@ -120,7 +120,7 @@ get_log_info() { fi elif [ -f "$DATA_DIR/app.nprofile" ]; then app_nprofile=$(cat "$DATA_DIR/app.nprofile") - log "Node is already set up. Use this nprofile to invite guest users:" + log "${SECONDARY_COLOR}Lightning.Pub${RESET_COLOR} is already set up. Use this nprofile to invite guest users:" log "${SECONDARY_COLOR}$app_nprofile${RESET_COLOR}" break fi diff --git a/scripts/install_lightning_pub.sh b/scripts/install_lightning_pub.sh index cbb902c8..81d0839b 100755 --- a/scripts/install_lightning_pub.sh +++ b/scripts/install_lightning_pub.sh @@ -34,7 +34,7 @@ install_lightning_pub() { # Decide flow based on whether a valid previous installation exists. if [ -f "$INSTALL_DIR/.installed_commit" ] || [ -f "$INSTALL_DIR/db.sqlite" ]; then # --- UPGRADE PATH --- - log "Existing installation found. Checking for updates..." + log "Existing ${SECONDARY_COLOR}Lightning.Pub${RESET_COLOR} installation found. Checking for updates..." # Check if update is needed by comparing commit hashes API_RESPONSE=$(download_stdout "https://api.github.com/repos/${REPO}/commits/${BRANCH}" 2>&1 | tee /tmp/api_response.log)