X-Git-Url: https://git.josue.xyz/?p=webi-installers%2F.git;a=blobdiff_plain;f=ssh-pubkey%2Finstall.sh;h=dc71cba32c0d6524255af5fd1013dde9c10c945b;hp=db9dc3f8c1c1abb187c816c495dce7ae1fd436bf;hb=c09256897154fba40911a98e88e559d595c56293;hpb=cbe59ba54729dfde1e4c8512133379055f7f001e diff --git a/ssh-pubkey/install.sh b/ssh-pubkey/install.sh index db9dc3f..dc71cba 100644 --- a/ssh-pubkey/install.sh +++ b/ssh-pubkey/install.sh @@ -1,9 +1,8 @@ #!/bin/bash +set -e +set -u -{ - set -e - set -u - +function __install_ssh_pubkey() { MY_CMD="ssh-pubkey" rm -f "$HOME/.local/bin/$MY_CMD" @@ -13,3 +12,5 @@ # run the command "$HOME/.local/bin/$MY_CMD" } + +__install_ssh_pubkey