imp: install: align install status list

This commit is contained in:
Simon Michael 2023-01-24 11:59:08 -10:00
parent b27a8a1ee4
commit 82880dfc96

View File

@ -851,7 +851,7 @@ has_cmd_version() {
# Show a command's presence in $PATH, and its version if present.
print_cmd_version() {
if [[ $(cmd_location "$1") ]]; then
echo "$1" $(cmd_version "$1") is installed at $(cmd_location "$1")
printf "%-28s is installed at %s\n" "$1 $(cmd_version "$1")" $(cmd_location "$1")
else
echo "$1 is not found"
fi