fix: install.sh — nom fichier fzf sans préfixe v (tag v0.72.0 → fzf-0.72.0-linux_amd64.tar.gz)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -69,7 +69,8 @@ _install_fzf_binary() {
|
|||||||
fzf_ver=$(curl -fsSL "https://api.github.com/repos/junegunn/fzf/releases/latest" \
|
fzf_ver=$(curl -fsSL "https://api.github.com/repos/junegunn/fzf/releases/latest" \
|
||||||
| grep '"tag_name"' | head -1 | awk -F'"' '{print $4}')
|
| grep '"tag_name"' | head -1 | awk -F'"' '{print $4}')
|
||||||
[[ -z "$fzf_ver" ]] && { err "Impossible de déterminer la version fzf."; exit 1; }
|
[[ -z "$fzf_ver" ]] && { err "Impossible de déterminer la version fzf."; exit 1; }
|
||||||
local fzf_url="https://github.com/junegunn/fzf/releases/download/${fzf_ver}/fzf-${fzf_ver}-linux_amd64.tar.gz"
|
local fzf_ver_clean="${fzf_ver#v}"
|
||||||
|
local fzf_url="https://github.com/junegunn/fzf/releases/download/${fzf_ver}/fzf-${fzf_ver_clean}-linux_amd64.tar.gz"
|
||||||
info "Téléchargement fzf ${fzf_ver}..."
|
info "Téléchargement fzf ${fzf_ver}..."
|
||||||
curl -fsSL "$fzf_url" -o "$tmp_fzf"
|
curl -fsSL "$fzf_url" -o "$tmp_fzf"
|
||||||
mkdir -p "$HOME/.local/bin"
|
mkdir -p "$HOME/.local/bin"
|
||||||
|
|||||||
Reference in New Issue
Block a user