summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Berg2024-08-08 13:32:47 +0000
committerChristoph Berg2024-08-08 13:32:47 +0000
commita93a8da3efcdec879af73a4be96671c000e299d6 (patch)
treee20efcc21f493343c0d5390098db018f4f40834a
parent69e53469055da3b548a8b5b951e9d5af7dc138ee (diff)
promote: More crips column formatting
(Does right-align version number and distro release columns for some reason, though)
-rwxr-xr-xrepo/promote4
1 files 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