chore(ssh-pubkey): style update
[webi-installers/.git] / ssh-pubkey / install.sh
index db9dc3f8c1c1abb187c816c495dce7ae1fd436bf..dc71cba32c0d6524255af5fd1013dde9c10c945b 100644 (file)
@@ -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