Skip to content

Commit

Permalink
Add downloading and installing messages
Browse files Browse the repository at this point in the history
Signed-off-by: Raimund Hook <rhook@gitlab.com>
  • Loading branch information
StingRayZA committed May 10, 2024
1 parent ccdd47d commit 45258a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/functions/installs.bash
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ install_tool_version() {
if [ -d "$install_path" ]; then
printf "%s %s is already installed\n" "$plugin_name" "$full_version"
else
printf "%s %s is being downloaded\n" "$plugin_name" "$full_version"

if [ -f "${plugin_path}/bin/download" ]; then
# Not a legacy plugin
Expand All @@ -216,6 +217,7 @@ install_tool_version() {
local download_exit_code=$?
if [ $download_exit_code -eq 0 ]; then
(
printf "%s %s is being installed\n" "$plugin_name" "$full_version"
# shellcheck disable=SC2031
export ASDF_INSTALL_TYPE=$install_type
# shellcheck disable=SC2031
Expand Down

0 comments on commit 45258a0

Please sign in to comment.