mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
17 lines
327 B
Bash
17 lines
327 B
Bash
#!/bin/sh
|
|
set -e
|
|
set -u
|
|
|
|
__install_ssh_pubkey() {
|
|
rm -f "$HOME/.local/bin/ssh-pubkey"
|
|
webi_download \
|
|
"$WEBI_HOST/packages/ssh-pubkey/ssh-pubkey" \
|
|
"$HOME/.local/bin/ssh-pubkey"
|
|
chmod a+x "$HOME/.local/bin/ssh-pubkey"
|
|
|
|
# run the command
|
|
"$HOME/.local/bin/ssh-pubkey"
|
|
}
|
|
|
|
__install_ssh_pubkey
|