This repository has been archived on 2020-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
installer-scripts/abra/abra-installer
Luke Murphy ed1d84c575
All checks were successful
continuous-integration/drone/push Build is passing
Bump abra, add swarm installer script
2020-09-24 09:14:09 +02:00

19 lines
381 B
Bash

#!/bin/bash
ABRA_VERSION="0.1.2"
ABRA_SRC="https://git.autonomic.zone/autonomic-cooperative/abra/raw/tag/$ABRA_VERSION/abra"
function install_abra {
mkdir -p "$HOME/.local/bin"
curl "$ABRA_SRC" > "$HOME/.local/bin/abra"
chmod +x "$HOME/.local/bin/abra"
echo "abra installed to $HOME/.loca/bin/abra"
}
function run_installation {
install_abra
}
run_installation
exit 0