From 2c024ebabae942eb5d2c50e3b745479f2d9961f2 Mon Sep 17 00:00:00 2001 From: b-fuze Date: Sat, 7 Oct 2023 17:02:14 -0400 Subject: [PATCH] fix: remove excess bits at the end of path --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2187f4d..6c78473 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -94,7 +94,7 @@ jobs: rustup target add "$target" # Add ARM64 Ubuntu repos - sed -E '/^deb/!d; s|.+/|deb [arch=arm64] http://ports.ubuntu.com/|' /etc/apt/sources.list | sudo tee /etc/apt/sources.list.d/sources-arm64.list + sed -E '/^deb/!d; s|.+/([^/]+\.txt)?|deb [arch=arm64] http://ports.ubuntu.com/|' /etc/apt/sources.list | sudo tee /etc/apt/sources.list.d/sources-arm64.list # Mark existing repos as x86_64 only sudo sed -i -E 's/^deb/deb [arch=amd64]/' /etc/apt/sources.list sudo dpkg --add-architecture arm64