aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/quarto/files/patch-repo_package_scripts_common_quarto
blob: fafd744ef844009f5ae4857aa9b7d9882a5af9f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- repo/package/scripts/common/quarto.orig	2025-11-09 18:33:45 UTC
+++ repo/package/scripts/common/quarto
@@ -143,6 +143,8 @@ if [[ $OSTYPE == 'darwin'* ]]; then
     UNAME_ARCH=$(uname -m)
     if [[ $UNAME_ARCH == "x86_64" ]]; then
       ARCH_DIR=x86_64
+    elif [[ $UNAME_ARCH == "amd64" ]]; then
+      ARCH_DIR=amd64
     elif [[ $UNAME_ARCH == "arm64" ]]; then
       ARCH_DIR=aarch64
     else
@@ -155,6 +157,8 @@ else
   NIXARCH=$(uname -m)
   if [[ $NIXARCH == "x86_64" ]]; then
     ARCH_DIR=x86_64
+  elif [[ $NIXARCH == "amd64" ]]; then
+    ARCH_DIR=amd64
   elif [[ $NIXARCH == "aarch64" ]]; then
     ARCH_DIR=aarch64
   else