fix: change terms

This commit is contained in:
Strix 2024-06-06 02:23:48 +02:00
parent f766aa755b
commit 9cae26fa1e

6
bin/sc
View file

@ -21,17 +21,17 @@ shift
for host in $SC_HOSTS; do
case $command in
install)
sc)
if [ "$host" = "local" ]; then
escalate_command a3 ./meta.a3 ${1:-install}
else
LOGI "attempting to install on $host..."
LOGI "attempting to ${1:-install} on $host..."
if ! ssh $host "command -v a3"; then
LOGI "no a3, installing..."
ssh -t $host "git clone https://git.saluco.nl/strix/aaa /tmp/a3 && cd /tmp/a3 && sudo A3_LIB=./lib bin/a3 ./meta.a3 ${1:-install}; rm -rf /tmp/a3"
fi
ssh $host "git clone https://git.saluco.nl/strix/sconnect /tmp/sconnect && cd /tmp/sconnect && sudo a3 ./meta.a3 ${1:-install}; rm -rf /tmp/sconnect"
LOGI "installed"
LOGI "ok"
fi
;;
*)