X-Git-Url: https://git.josue.xyz/?p=webi-installers%2F.git;a=blobdiff_plain;f=ssh-utils%2Finstall.sh;fp=ssh-utils%2Finstall.sh;h=e0be04bea3e74015122aabdcfecc75d4cf6c6ca9;hp=811377f243b7515496bbab09b60fb71466b8d707;hb=ca7a838c6fde6052124947ff442aa9e6056f5e28;hpb=704265583cff80363fec60c4088f5b91f6d98bd0 diff --git a/ssh-utils/install.sh b/ssh-utils/install.sh index 811377f..e0be04b 100644 --- a/ssh-utils/install.sh +++ b/ssh-utils/install.sh @@ -1,7 +1,11 @@ -{ +#!/bin/bash + +function __init_ssh_utils() { rm -f "$HOME/.local/bin/ssh-pubkey" "$HOME/.local/bin/ssh-setpass" "$HOME/.local/bin/ssh-adduser" webi_download "$WEBI_HOST/packages/ssh-utils/ssh-pubkey.sh" "$HOME/.local/bin/ssh-pubkey" webi_download "$WEBI_HOST/packages/ssh-utils/ssh-setpass.sh" "$HOME/.local/bin/ssh-setpass" webi_download "$WEBI_HOST/packages/ssh-utils/ssh-adduser.sh" "$HOME/.local/bin/ssh-adduser" chmod a+x "$HOME/.local/bin/ssh-"* } + +__init_ssh_utils