From 84cc3155af502db586f644f1092831155e45ccca Mon Sep 17 00:00:00 2001 From: Peter Michaux Date: Fri, 5 Jan 2024 22:10:34 -0800 Subject: [PATCH] Align columns in lxc-download.in template Signed-off-by: Peter Michaux --- templates/lxc-download.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/lxc-download.in b/templates/lxc-download.in index bd2c37659..9614bd329 100755 --- a/templates/lxc-download.in +++ b/templates/lxc-download.in @@ -241,7 +241,7 @@ if [ "${DOWNLOAD_LIST_IMAGES}" = "true" ] || [ "${DOWNLOAD_INTERACTIVE}" = "true # Parse it echo "" echo "---" - printf "DIST\tRELEASE\tARCH\tVARIANT\tBUILD\n" + printf "%-15s %-10s %-5s %-7s %-14s\n" "DIST" "RELEASE" "ARCH" "VARIANT" "BUILD" echo "---" while IFS=';' read -r f1 f2 f3 f4 f5 f6; do [ -n "${DOWNLOAD_DIST}" ] && [ "$f1" != "${DOWNLOAD_DIST}" ] && continue @@ -250,7 +250,7 @@ if [ "${DOWNLOAD_LIST_IMAGES}" = "true" ] || [ "${DOWNLOAD_INTERACTIVE}" = "true [ -n "${DOWNLOAD_VARIANT}" ] && [ "$f4" != "${DOWNLOAD_VARIANT}" ] && continue [ -z "${f5}" ] || [ -z "${f6}" ] && continue - printf "%s\t%s\t%s\t%s\t%s\n" "${f1}" "${f2}" "${f3}" "${f4}" "${f5}" + printf "%-15s %-10s %-5s %-7s %-14s\n" "${f1}" "${f2}" "${f3}" "${f4}" "${f5}" unset f1 f2 f3 f4 f5 f6 done < "${DOWNLOAD_TEMP}/index" echo "---" -- 2.47.2