imp: install: align install status list
This commit is contained in:
parent
b27a8a1ee4
commit
82880dfc96
@ -851,7 +851,7 @@ has_cmd_version() {
|
|||||||
# Show a command's presence in $PATH, and its version if present.
|
# Show a command's presence in $PATH, and its version if present.
|
||||||
print_cmd_version() {
|
print_cmd_version() {
|
||||||
if [[ $(cmd_location "$1") ]]; then
|
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
|
else
|
||||||
echo "$1 is not found"
|
echo "$1 is not found"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user