chore(style): convert blocks into functions (see #325)
[webi-installers/.git] / myip / install.sh
index 0d261e5eaa149897f90b78a9b7c03ddb5a8d20a6..2f908b561dd341d1a5861eedf8454447dc83243d 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-{
+function __init_myip() {
     set -e
     set -u
 
@@ -10,3 +10,5 @@
 
     "$HOME/.local/bin/myip"
 }
+
+__init_myip