Add installer script (first stab)
This commit is contained in:
parent
15bdd11599
commit
e2e1e07803
@ -1,3 +1,7 @@
|
||||
# abra 0.1.1 (2020-09-22)
|
||||
|
||||
- Add installer script ([#9](https://git.autonomic.zone/autonomic-cooperative/abra/issues/9))
|
||||
|
||||
# abra 0.1.0 (2020-09-22)
|
||||
|
||||
- Initial pre-alpha release
|
||||
|
18
installer
Executable file
18
installer
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
ABRA_VERSION="0.1.0"
|
||||
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
|
Loading…
Reference in New Issue
Block a user