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