Changeset 09a2061 in Klonkt for src/routes/posts.js

Timestamp:
06/29/2026 11:27:49 PM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
1273101
Parents:
328d837
Message:

fix(install): klonkt-update no longer restarts (or claims "updated") when already current

klonkt-update always ran systemctl restart klonkt and printed "Klonkt updated" even
when the fetched commit equalled the current one — a needless restart and a misleading
message on every run. It now exits early with "already up to date" when HEAD is unchanged.

  • scripts/install.sh — the generated /usr/local/bin/klonkt-update bails out before the npm/restart steps when $B == $A (no new commit)

Co-Authored-By: Claude <noreply@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.