mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-03-02 17:30:18 +00:00
16 lines
284 B
Bash
16 lines
284 B
Bash
#!/bin/bash
|
|
|
|
{
|
|
set -e
|
|
set -u
|
|
|
|
MY_CMD="ssh-pubkey"
|
|
|
|
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"
|
|
}
|