X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=bat%2Finstall.sh;h=b6f812eae54acd528cc0d82a6a22fadf3ed68b17;hb=46445e9382905a52e770d44191235be179616049;hp=6ae91541de66cc83d69691534d65893ffe6b5831;hpb=76776e9d5403d59b2cd5cba16d84f819a56bc5aa;p=webi-installers%2F.git diff --git a/bat/install.sh b/bat/install.sh index 6ae9154..b6f812e 100644 --- a/bat/install.sh +++ b/bat/install.sh @@ -11,11 +11,11 @@ WEBI_SINGLE=true pkg_get_current_version() { - # 'bat --version' has output in this format: - # bat 0.15.4 - # This trims it down to just the version number: - # 0.15.4 - echo $(bat --version 2>/dev/null | head -n 1 | cut -d' ' -f 2) + # 'bat --version' has output in this format: + # bat 0.15.4 + # This trims it down to just the version number: + # 0.15.4 + echo $(bat --version 2> /dev/null | head -n 1 | cut -d' ' -f 2) } pkg_install() {