chore(style): convert blocks into functions (see #325)
[webi-installers/.git] / vps-utils / install.sh
index 1f664e941d580e6565bb14fbc745079abd4d76d2..1e260a95281e2bc40ebae6d65675176144e73c4a 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-{
+function __init_vps_utils() {
     set -e
     set -u
 
@@ -13,3 +13,5 @@
     chmod a+x "$HOME/.local/bin/myip"
     chmod a+x "$HOME/.local/bin/vps-"*
 }
+
+__init_vps_utils