From 6c55c2532c901adf16bea991baa71640970b992f Mon Sep 17 00:00:00 2001 From: dw5 <29355584+dw5@users.noreply.github.com> Date: Sat, 25 Jun 2022 12:04:01 +0300 Subject: Suggestion: Autodetect CPU arch for non amd64 users (arm - aarch64/arm64...) "Keep It Stupid Simple" "noob friendly" material? --- gitea.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gitea.html') diff --git a/gitea.html b/gitea.html index 647d603..57b5e9b 100644 --- a/gitea.html +++ b/gitea.html @@ -27,7 +27,7 @@
Then add the actual repository to apt:
-echo "deb [arch=amd64] https://packaging.gitlab.io/gitea gitea main" > /etc/apt/sources.list.d/morph027-gitea.list
+ echo "deb [arch=$(dpkg --print-architecture)] https://packaging.gitlab.io/gitea gitea main" > /etc/apt/sources.list.d/morph027-gitea.list
Now we can install Gitea:
-- cgit v1.2.3