X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=fd%2Finstall.sh;h=50af4761cb6edbacc3c79711db8960f6ab4cc49e;hb=aa61db993471a5ec35fadbc050126735b9fc200a;hp=ad62461c34ff6c658b7a0c74e373a4e4bfd9c964;hpb=e40684360cf4c85b613891b505ebc8f4b096af14;p=webi-installers%2F.git diff --git a/fd/install.sh b/fd/install.sh index ad62461..50af476 100644 --- a/fd/install.sh +++ b/fd/install.sh @@ -11,11 +11,11 @@ WEBI_SINGLE=true pkg_get_current_version() { - # 'fd --version' has output in this format: - # fd 8.1.1 - # This trims it down to just the version number: - # 8.1.1 - echo $(fd --version 2>/dev/null | head -n 1 | cut -d' ' -f 2) + # 'fd --version' has output in this format: + # fd 8.1.1 + # This trims it down to just the version number: + # 8.1.1 + echo $(fd --version 2> /dev/null | head -n 1 | cut -d' ' -f 2) } pkg_install() { @@ -25,7 +25,7 @@ # mv ./fd-*/fd "$HOME/.local/opt/fd-v8.1.1/bin/fd" mv ./fd-*/fd "$pkg_src_cmd" - # chmod a+x "$HOME/.local/xbin/rg-v11.1.0" + # chmod a+x "$HOME/.local/opt/fd-v8.1.1/bin/fd" chmod a+x "$pkg_src_cmd" } }