X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=lf%2Finstall.sh;h=19d63eec491c2a28dba9521b47536417136d704d;hb=b1d3b44f966332434d8ec49b2a0df569e9bf8c16;hp=7eaa5fa42c85723f91d2545484092da43ef7dae3;hpb=b14b716c48e48eb55865f528c021294dc77b2d9b;p=webi-installers%2F.git diff --git a/lf/install.sh b/lf/install.sh index 7eaa5fa..19d63ee 100644 --- a/lf/install.sh +++ b/lf/install.sh @@ -30,11 +30,11 @@ function __init_lf() { } pkg_get_current_version() { - # 'lf version' has output in this format: + # 'lf --version' has output in this format: # r21 # This treats it as a minor version number: # 0.21.0 - echo "0.$(lf --version 2>/dev/null | head -n 1 | cut -d' ' -f1 | sed 's:^r::').0" + echo "0.$(lf --version 2> /dev/null | head -n 1 | cut -d' ' -f1 | sed 's:^r::').0" } }