X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=jq%2Finstall.sh;fp=jq%2Finstall.sh;h=a15919db85370110cd548eb44b430abd582ae7f5;hb=46445e9382905a52e770d44191235be179616049;hp=5a28ed450c10615d1dae0ba7872241b467f1abf0;hpb=76776e9d5403d59b2cd5cba16d84f819a56bc5aa;p=webi-installers%2F.git diff --git a/jq/install.sh b/jq/install.sh index 5a28ed4..a15919d 100644 --- a/jq/install.sh +++ b/jq/install.sh @@ -11,10 +11,10 @@ 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-::') } }