diff options
author | johannst <johannes.stoelp@gmail.de> | 2019-07-07 18:21:14 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.de> | 2019-07-07 18:21:14 +0200 |
commit | 35bd7cf5e48659c167c48c497023f382ee9f307e (patch) | |
tree | 3580787b3ab4d7aecd6c88af283073ffe342394a /install_rust_tools | |
parent | 069d767cf2b97dfd2dbe027be4d9cc0a04e7504b (diff) | |
download | dotfiles-35bd7cf5e48659c167c48c497023f382ee9f307e.tar.gz dotfiles-35bd7cf5e48659c167c48c497023f382ee9f307e.zip |
added print to install rust tools script
Diffstat (limited to 'install_rust_tools')
-rwxr-xr-x | install_rust_tools | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/install_rust_tools b/install_rust_tools index 910a51a..558da20 100755 --- a/install_rust_tools +++ b/install_rust_tools @@ -17,6 +17,7 @@ tools+=("ripgrep") for tool in ${tools[@]}; do installed_vers=$(cargo install --list | grep "^$tool" | awk '{ print $2 }' | sed 's/[v:]//g') [[ ! -z $installed_vers ]] && { + echo "[+] $tool installed, checking version ..." update_vers=$(cargo search --limit 1 $tool | awk 'NR==1 { print $3 }' | sed 's/"//g') [[ $installed_vers == $update_vers ]] && { continue; } echo ">>> update $tool $installed_vers -> $update_vers? [yYnN]" |