From 97b2935035e7dd7e94e2f47fec04590e4b48342b Mon Sep 17 00:00:00 2001
From: "Austin S. Hemmelgarn" <austin@netdata.cloud>
Date: Thu, 12 Jan 2023 10:14:03 -0500
Subject: [PATCH] Update handling of uploads of DEB packages to our new
 infrastructure. (#14253)

This significantly simplifies handling on the server itself.
---
 .github/scripts/package-upload.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/scripts/package-upload.sh b/.github/scripts/package-upload.sh
index fd8a8cda24..13d63b4a74 100755
--- a/.github/scripts/package-upload.sh
+++ b/.github/scripts/package-upload.sh
@@ -19,7 +19,7 @@ mkdir -p "${staging}"
 
 case "${format}" in
     deb)
-        src="${staging}/$(echo "${distro}" | cut -f 1 -d '/')/pool/"
+        src="${staging}/${distro}"
         mkdir -p "${src}"
 
         for pkg in ${packages}; do