From 9673cb7b7aff4dfddd48dc79fd40b1f187ec57f7 Mon Sep 17 00:00:00 2001 From: Dominik Siebel Date: Tue, 22 Oct 2024 22:47:47 +0200 Subject: [PATCH] fix: remove macos gnu grep --- install/zoraxy-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/zoraxy-install.sh b/install/zoraxy-install.sh index 0427c9d7..45e481c0 100644 --- a/install/zoraxy-install.sh +++ b/install/zoraxy-install.sh @@ -20,7 +20,7 @@ $STD apt-get install -y mc $STD apt-get install -y git msg_ok "Installed Dependencies" -RELEASE="$(curl -s https://api.github.com/repos/tobychui/zoraxy/releases | ggrep -oP '"tag_name":\s*"\K[\d.]+?(?=")' | sort -V | tail -n1)" +RELEASE="$(curl -s https://api.github.com/repos/tobychui/zoraxy/releases | grep -oP '"tag_name":\s*"\K[\d.]+?(?=")' | sort -V | tail -n1)" msg_info "Installing Zoraxy v${RELEASE}" wget -q "https://github.com/tobychui/zoraxy/releases/download/${RELEASE}/zoraxy_linux_amd64" install zoraxy_linux_amd64 /usr/bin/zoraxy