feature(delta): use WEBI_UA for curl.exe
[webi-installers/.git] / lf / install.sh
index 7eaa5fa42c85723f91d2545484092da43ef7dae3..19d63eec491c2a28dba9521b47536417136d704d 100644 (file)
@@ -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"
     }
 
 }