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/