From 9ea0c15d333de16a1fae88dac454e8c32f3411cc Mon Sep 17 00:00:00 2001 From: Nikolay Arhipov Date: Fri, 9 Aug 2024 20:07:58 +0300 Subject: [PATCH] Fixed yq hook --- system/hooks/yq/pre.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system/hooks/yq/pre.sh b/system/hooks/yq/pre.sh index 1a1e07ff..c69d3219 100644 --- a/system/hooks/yq/pre.sh +++ b/system/hooks/yq/pre.sh @@ -15,6 +15,8 @@ if [ "$ARCH" == "x86_64" ]; then ARCH="amd64" elif [ "$ARCH" == "armv7l" ]; then ARCH="arm" +elif [ "$ARCH" == "aarch64" ]; then + ARCH="arm64" fi if ! type -P yq > /dev/null && [ ! -f ~/.local/bin/yq ]; then @@ -24,4 +26,4 @@ if ! type -P yq > /dev/null && [ ! -f ~/.local/bin/yq ]; then chmod +x ~/.local/bin/yq fi -export PATH=$PATH:~/.local/bin/ \ No newline at end of file +export PATH=$PATH:~/.local/bin/