From 27b922f6b7d7176a04d861bb220d45636fe0eac1 Mon Sep 17 00:00:00 2001 From: Faustin Lammler Date: Tue, 24 Oct 2023 21:24:23 +0200 Subject: [PATCH] s --- master-galera/master.cfg | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/master-galera/master.cfg b/master-galera/master.cfg index 47b3c706..8cc937cc 100644 --- a/master-galera/master.cfg +++ b/master-galera/master.cfg @@ -208,16 +208,18 @@ def dpkgDeb(): name="apt-ftparchive", haltOnFailure=True, command=[ - "sh", + "bash", "-xc", util.Interpolate( """set -e + [[ -f /etc/apt/sources.list.d/galera-4.list ]] && sudo rm /etc/apt/sources.list.d/galera-4.list + sudo apt-get update && sudo apt-get -y install apt-utils mkdir -p debs find .. -maxdepth 1 -type f -exec cp {} debs/ \; cd debs - apt-ftparchive release . >Release apt-ftparchive packages . >Packages apt-ftparchive sources . >Sources + apt-ftparchive release . >Release cd .. find debs -type f -exec sha256sum {} \; | sort > sha256sums.txt """