From 1e4544e079a7b9c94d880b8a1d79d0e275dbbbe9 Mon Sep 17 00:00:00 2001 From: Federico Cerutti Date: Tue, 1 Apr 2025 15:17:19 +0200 Subject: [PATCH] Authentik - Fix YQ_LATEST regex (#3565) * Fix YQ_LATEST regex * remove f --------- Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com> --- install/authentik-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/authentik-install.sh b/install/authentik-install.sh index 81396903b..b3b8c13a5 100644 --- a/install/authentik-install.sh +++ b/install/authentik-install.sh @@ -38,7 +38,7 @@ msg_ok "Installed Dependencies" msg_info "Installing yq" cd /tmp -YQ_LATEST="$(curl -fsSL https://api.github.com/repos/mikefarah/yq/releases/latest | grep -Po '"tag_name": \K.*?(?=")')" +YQ_LATEST="$(curl -fsSL https://api.github.com/repos/mikefarah/yq/releases/latest | grep -Po '"tag_name": "\K.*?(?=")')" curl -fsSL "https://github.com/mikefarah/yq/releases/download/${YQ_LATEST}/yq_linux_amd64" -o /usr/bin/yq chmod +x /usr/bin/yq msg_ok "Installed yq"