mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-03-03 18:00:18 +00:00
21 lines
365 B
Bash
21 lines
365 B
Bash
#!/bin/bash
|
|
set -e
|
|
set -u
|
|
|
|
function __install_ssh_adduser() {
|
|
my_cmd="ssh-adduser"
|
|
|
|
rm -f "$HOME/.local/bin/${my_cmd}"
|
|
|
|
webi_download \
|
|
"$WEBI_HOST/packages/${my_cmd}/${my_cmd}.sh" \
|
|
"$HOME/.local/bin/${my_cmd}"
|
|
|
|
chmod a+x "$HOME/.local/bin/${my_cmd}"
|
|
|
|
# run the command
|
|
"$HOME/.local/bin/${my_cmd}"
|
|
}
|
|
|
|
__install_ssh_adduser
|