From c6deb068ef6f4ddd6f6d7be4ff1127941f9291b9 Mon Sep 17 00:00:00 2001 From: Vitaly Chikunov Date: Sun, 26 Jun 2022 09:32:50 +0300 Subject: [PATCH] remove-old-kernels: Improve wording of kernel lists descriptions Signed-off-by: Vitaly Chikunov --- remove-old-kernels | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/remove-old-kernels b/remove-old-kernels index fc294a8..66383eb 100755 --- a/remove-old-kernels +++ b/remove-old-kernels @@ -179,7 +179,7 @@ for flavour in $flavours; do done howmuch=$(echo "$keep_kernels" | grep -c .) [ "$howmuch" -eq 1 ] && phrase="this kernel" || phrase="these $BRIGHT$howmuch$NORM kernels" -echo "Not removing $phrase (reason why keeping):" +echo "Not removing $phrase (with the reason why):" printf "%s" "$keep_kernels" [ -n "$other_flavours" ] && echo "Specify -A to remove all kernels of other flavours than $kernel_flavour." echo @@ -191,7 +191,7 @@ fi howmuch=$(echo "$remove_kernels" | grep -c .) [ "$howmuch" -eq 1 ] && phrase="this kernel" || phrase="these $BRIGHT$howmuch$NORM kernels" -echo "Removing $phrase:" +echo "Will be removing $phrase:" echo "$remove_kernels" if [ "$UID" != "0" ]; then