Files
vim-ale/ssh-pubkey/install.sh
2020-07-04 02:48:07 +00:00

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"
}