chore(style): convert blocks into functions (see #325)
[webi-installers/.git] / gprox / install.sh
index fdb7d420a9cdd858537d0999f790b258c3d3a2f7..103216541fb38e890c78eb459d43d2542239e0b1 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-{
+function __init_gprox() {
     set -e
     set -u
 
@@ -27,3 +27,5 @@
         echo $(gprox --version 2> /dev/null | head -n 1 | cut -d ' ' -f 2)
     }
 }
+
+__init_gprox