projects
/
webi-installers
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
docs: add -- global flag
[webi-installers/.git]
/
ssh-adduser
/
install.sh
1
#!/bin/bash
2
set -e
3
set -u
4
5
function __install_ssh_adduser() {
6
my_cmd="ssh-adduser"
7
8
rm -f "$HOME/.local/bin/${my_cmd}"
9
10
webi_download \
11
"$WEBI_HOST/packages/${my_cmd}/${my_cmd}.sh" \
12
"$HOME/.local/bin/${my_cmd}"
13
14
chmod a+x "$HOME/.local/bin/${my_cmd}"
15
16
# run the command
17
"$HOME/.local/bin/${my_cmd}"
18
}
19
20
__install_ssh_adduser