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