This repository has been archived on 2021-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
abra/installer/installer

19 lines
372 B
Plaintext
Raw Normal View History

2020-09-22 11:37:33 +00:00
#!/bin/bash
2021-03-01 10:44:58 +00:00
ABRA_VERSION="0.5.0"
2020-10-25 20:08:08 +00:00
ABRA_SRC="https://git.autonomic.zone/coop-cloud/abra/raw/tag/$ABRA_VERSION/abra"
2020-09-22 11:37:33 +00:00
function install_abra {
mkdir -p "$HOME/.local/bin"
2021-01-01 21:44:21 +00:00
curl "$ABRA_SRC" > "$HOME/.local/bin/abra"
2020-09-22 11:37:33 +00:00
chmod +x "$HOME/.local/bin/abra"
2021-03-01 10:38:15 +00:00
echo "abra installed to $HOME/.local/bin/abra"
2020-09-22 11:37:33 +00:00
}
function run_installation {
install_abra
}
run_installation
exit 0