Files
Chili Palmer 00707fd8df
Some checks failed
CI / rust-skia (Rust only) (push) Successful in 2m48s
CI / required (push) Failing after 51s
Package portable grid agent operation (#134)
2026-08-18 12:27:07 +02:00

19 lines
532 B
Bash
Executable File

#!/bin/sh
set -eu
if [ "$#" -ne 2 ]; then
echo "usage: install.sh BUILT_BINARY DESTINATION_PREFIX" >&2
exit 2
fi
source_binary=$1
destination_prefix=$2
test -f "$source_binary"
install -d -m 0755 "$destination_prefix/bin"
temporary="$destination_prefix/bin/.metacrate-grid-agent.new"
install -m 0755 "$source_binary" "$temporary"
mv -f "$temporary" "$destination_prefix/bin/metacrate-grid-agent"
# Deliberately do not create, replace, migrate, or remove configuration,
# secrets, conversations, landmarks, or audit journals.