cleanup: shfmt, shellcheck, and whitespace
[webi-installers/.git] / jq / install.sh
index 5a28ed450c10615d1dae0ba7872241b467f1abf0..a15919db85370110cd548eb44b430abd582ae7f5 100644 (file)
     WEBI_SINGLE=true
 
     pkg_get_current_version() {
-      # 'jq --version' has output in this format:
-      #       jq-1.6
-      # This trims it down to just the version number:
-      #       1.6
-      echo $(jq --version 2>/dev/null | head -n 1 | sed 's:^jq-::')
+        # 'jq --version' has output in this format:
+        #       jq-1.6
+        # This trims it down to just the version number:
+        #       1.6
+        echo $(jq --version 2> /dev/null | head -n 1 | sed 's:^jq-::')
     }
 }