about summary refs log tree commit diff
path: root/schema.sql
diff options
context:
space:
mode:
authorPjotr <wrk@bosa.lan>2026-11-16 10:07:32 +0000
committerPjotr <wrk@bosa.lan>2026-11-16 10:07:32 +0000
commit345dccb3ea63ac6aa0d9c7d17132bc5e614e545f (patch)
tree45f8b52d1104e8d145561fe2d5e831f816eeadf5 /schema.sql
parent744278e9881db1b9cd544fb8061bb616b9020886 (diff)
downloadai-memory-345dccb3ea63ac6aa0d9c7d17132bc5e614e545f.tar.gz
install.sh: replace an existing root instead of failing on it
The first version worked exactly once.  guix build --root cannot replace a
root that already exists -- it answers

    guix build: error: failed to create GC root '.../root': File exists

-- so the second run, which is the normal case, died before building.  The
script now removes the old symlink first and refuses to touch anything that is
not a symlink, since a directory at that path is someone else's mistake.
Verified by running it three times in a row against a tree that changed between
runs (adding this file moves the store path, which is what makes the root worth
having).
Diffstat (limited to 'schema.sql')
0 files changed, 0 insertions, 0 deletions