chore(style): add shebang, set bash strict mode, create function
[webi-installers/.git] / yq / install.sh
index f1651347c0f2da1a28682aa7e4a4f5f58b2c6505..adb4f55369b8ab6d1ab79a5f1be572ea101b49ca 100644 (file)
@@ -1,8 +1,8 @@
 #!/bin/bash
+set -e
+set -u
 
-{
-    set -e
-    set -u
+function __init_yq() {
 
     pkg_cmd_name="yq"
 
@@ -34,3 +34,5 @@
     }
 
 }
+
+__init_yq