projects
/
webi-installers
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bugfix(webi): printf rather than echo -e for colors for certain shells
[webi-installers/.git]
/
ssh-pubkey
/
install.sh
1
#!/bin/bash
2
set -e
3
set -u
4
5
function __install_ssh_pubkey() {
6
MY_CMD="ssh-pubkey"
7
8
rm -f "$HOME/.local/bin/$MY_CMD"
9
webi_download "$WEBI_HOST/packages/$MY_CMD/$MY_CMD.sh" "$HOME/.local/bin/$MY_CMD"
10
chmod a+x "$HOME/.local/bin/$MY_CMD"
11
12
# run the command
13
"$HOME/.local/bin/$MY_CMD"
14
}
15
16
__install_ssh_pubkey