fix(installer): allow scoped Claude paths and leave unreadable cwd (#1816, Vikunja 614). Untested
This commit is contained in:
1 parent
f30c74b128
commit
a75532db18
9 files changed
+121
-6
No files matched your search
@@ -194,7 +194,7 @@ echo "<bundle sha256> /root/<sha>.bundle" | sha256sum -c -
|
||||
trap 'rm -rf "$bundle_check"' EXIT
|
||||
git init -q --bare "$bundle_check" &&
|
||||
git -C "$bundle_check" bundle verify /root/<sha>.bundle
|
||||
) || exit 1
|
||||
) || echo "STOP: bundle verify failed; do not continue"
|
||||
|
||||
# Root's checkout. stack-upgrade.sh and case2-unit.sh run from here, never from a copy.
|
||||
git clone -q -b refactor /root/<sha>.bundle /root/mosaic-stack
|
||||
@@ -216,7 +216,7 @@ echo "<bundle sha256> /root/<sha>.bundle" | sha256sum -c -
|
||||
trap 'rm -rf "$bundle_check"' EXIT
|
||||
git init -q --bare "$bundle_check" &&
|
||||
git -C "$bundle_check" bundle verify /root/<sha>.bundle
|
||||
) || exit 1
|
||||
) || echo "STOP: bundle verify failed; do not continue"
|
||||
git -C /root/mosaic-stack fetch -q /root/<sha>.bundle refs/heads/refactor:refs/remotes/origin/refactor
|
||||
git -C /root/mosaic-stack checkout -q --detach <sha>
|
||||
install -o mosaic -g mosaic -m 0600 /root/<sha>.bundle /srv/mosaic/incoming/<sha>.bundle
|
||||
|
||||
Reference in new issue
Block a user