chore(style): convert blocks into functions (see #325)
[webi-installers/.git] / curlie / install.sh
index f22adbdccf5292371fbdaaec5a14fd6e0360d3c1..b5ccebf869440c176a8771847ede57c16fd95daf 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-{
+function __init_curlie() {
     set -e
     set -u
 
@@ -31,3 +31,5 @@
         chmod a+x "$pkg_src_cmd"
     }
 }
+
+__init_curlie