chore(style): convert blocks into functions (see #325)
[webi-installers/.git] / hexyl / install.sh
index 218c0e3e17896f942be61805c34d0aa420995ef8..74e24364a522ac8bf9c86ba1570ded9a478dc5a8 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-{
+function __init_hexyl() {
     set -e
     set -u
 
@@ -29,3 +29,5 @@
         chmod a+x "$pkg_src_cmd"
     }
 }
+
+__init_hexyl