Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/postinstall postinstall: re-align list output



details:   https://anonhg.NetBSD.org/src/rev/6fff3bdc59cd
branches:  trunk
changeset: 982726:6fff3bdc59cd
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Apr 25 06:21:37 2021 +0000

description:
postinstall: re-align list output

diffstat:

 usr.sbin/postinstall/postinstall.in |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (36 lines):

diff -r 4a76dda706ba -r 6fff3bdc59cd usr.sbin/postinstall/postinstall.in
--- a/usr.sbin/postinstall/postinstall.in       Sun Apr 25 05:52:22 2021 +0000
+++ b/usr.sbin/postinstall/postinstall.in       Sun Apr 25 06:21:37 2021 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall.in,v 1.37 2021/04/25 01:44:55 lukem Exp $
+# $NetBSD: postinstall.in,v 1.38 2021/04/25 06:21:37 lukem Exp $
 #
 # Copyright (c) 2002-2021 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -2576,18 +2576,18 @@
 list()
 {
        echo "Default set of items (to apply if no items are provided by user):"
-       echo "  Item          Description"
-       echo "  ----          -----------"
+       echo " Item                 Description"
+       echo " ----                 -----------"
        for i in ${defaultitems}; do
                eval desc=\"\${desc_${i}}\"
-               printf "  %-12s  %s\n" "${i}" "${desc}"
+               printf " %-20s %s\n" "${i}" "${desc}"
        done
        echo "Items disabled by default (must be requested explicitly):"
-       echo "  Item          Description"
-       echo "  ----          -----------"
+       echo " Item                 Description"
+       echo " ----                 -----------"
        for i in ${otheritems}; do
                eval desc=\"\${desc_${i}}\"
-               printf "  %-12s  %s\n" "${i}" "${desc}"
+               printf " %-20s %s\n" "${i}" "${desc}"
        done
 
 }



Home | Main Index | Thread Index | Old Index