From f3078ce4aa05b263d87e87cf7429f6da7d9ee406 Mon Sep 17 00:00:00 2001 From: Faustin Lammler Date: Sat, 27 Jan 2024 17:05:42 +0100 Subject: [PATCH] Reprepro may not work (ubuntu 22.04) --- utils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/utils.py b/utils.py index fb5aab4e..8530d31e 100644 --- a/utils.py +++ b/utils.py @@ -247,7 +247,10 @@ def uploadDebArtifacts(): COMPONENTS="main main/debug" fi mkdir -p /packages/%(prop:tarbuildnum)s/%(prop:buildername)s - cd .. && cp -r debs conf db dists pool /packages/%(prop:tarbuildnum)s/%(prop:buildername)s/ + cd .. + for dir in debs conf db dists pool; do + [[ -d $dir ]] && cp -r $dir /packages/%(prop:tarbuildnum)s/%(prop:buildername)s/ + done cat << EOF > /packages/%(prop:tarbuildnum)s/%(prop:buildername)s/mariadb.sources X-Repolib-Name: MariaDB Types: deb