From a93a8da3efcdec879af73a4be96671c000e299d6 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Thu, 8 Aug 2024 15:32:47 +0200 Subject: [PATCH] promote: More crips column formatting (Does right-align version number and distro release columns for some reason, though) --- repo/promote | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repo/promote b/repo/promote index 6423ea5..f2f0d80 100755 --- a/repo/promote +++ b/repo/promote @@ -70,7 +70,7 @@ OLDVERSION=$($REPREPRO -A source list $FIRST_DIST-pgdg "$PKG" | awk '{ print $3 echo "Old status:" OLDLS=$($REPREPRO ls $PKG; for p in $OTHERBINARIES; do $REPREPRO ls $p; done) echo "$OLDLS" -OLDLSPROD=$(echo "$OLDLS" | grep -v -e pgdg-testing -e pgdg-snapshot | column -t) +OLDLSPROD=$(echo "$OLDLS" | grep -v -e pgdg-testing -e pgdg-snapshot | column -t -s '|' -o '|') echo fi @@ -84,7 +84,7 @@ echo echo "New status:" NEWLS=$($REPREPRO ls $PKG; for p in $OTHERBINARIES; do $REPREPRO ls $p; done) echo "$NEWLS" -NEWLSPROD=$(echo "$NEWLS" | grep -v -e pgdg-testing -e pgdg-snapshot | column -t) +NEWLSPROD=$(echo "$NEWLS" | grep -v -e pgdg-testing -e pgdg-snapshot | column -t -s '|' -o '|') echo if [ -z "${DEBUG:-}" ] && [ "$OLDLSPROD" = "$NEWLSPROD" ]; then -- 2.39.5