chore(style): add shebang, set bash strict mode, create function
[webi-installers/.git] / curlie / install.sh
index f22adbdccf5292371fbdaaec5a14fd6e0360d3c1..ec5bcd9431de94e193e583ecdf30064d543a959f 100644 (file)
@@ -1,8 +1,8 @@
 #!/bin/bash
+set -e
+set -u
 
-{
-    set -e
-    set -u
+function __init_curlie() {
 
     ##################
     # Install curlie #
@@ -31,3 +31,5 @@
         chmod a+x "$pkg_src_cmd"
     }
 }
+
+__init_curlie