remove-old-kernels: Rephrase 'not removing' to 'keeping'

Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
This commit is contained in:
Виталий Чикунов 2022-12-13 21:23:02 +03:00
parent b856cf79f3
commit 7f80522032

View File

@ -190,7 +190,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 (with the reason why):"
echo "Keeping $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