From 43d7e8ccff2d9448d4f74c01f319305704038915 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Wed, 20 Sep 2023 21:46:18 +0100 Subject: [PATCH] Match PKG_PATH with NetBSD-provided one --- roles/home-cli/files/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/home-cli/files/profile b/roles/home-cli/files/profile index 1c0887d..2720e72 100644 --- a/roles/home-cli/files/profile +++ b/roles/home-cli/files/profile @@ -142,7 +142,7 @@ fi if [ "$(uname -s)" = NetBSD ] then - export PKG_PATH="https://cdn.netbsd.org/pub/pkgsrc/packages/$(uname -s)/$(uname -n)/$(uname -r)/All" + export PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.|cut -f 1 -d_)/All" fi _acp_add_path () {