From 4d89fd606351935157c79148a6dfa653871983c3 Mon Sep 17 00:00:00 2001 From: sudolulo Date: Tue, 16 Jun 2026 14:56:09 +0000 Subject: [PATCH] install.sh: show only current run's log output, not accumulated history --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 14cefd9..3bc7771 100755 --- a/install.sh +++ b/install.sh @@ -106,8 +106,8 @@ echo "Applying patches ..." _log_start=$(wc -c < "$PATCH_DIR/apply.log" 2>/dev/null || echo 0) bash "$PATCH_DIR/patch/apply.sh" echo "" -echo "Patch log ($PATCH_DIR/apply.log):" -tail -30 "$PATCH_DIR/apply.log" +echo "Patch log (this run):" +tail -c "+$((_log_start + 1))" "$PATCH_DIR/apply.log" 2>/dev/null || true echo "" if tail -c "+$((_log_start + 1))" "$PATCH_DIR/apply.log" 2>/dev/null | grep -qE "WARNING:|ERROR:"; then echo "WARNING: apply.sh reported one or more issues — see log above for details."