summaryrefslogtreecommitdiff
path: root/install_rust_tools
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.de>2019-07-07 18:21:14 +0200
committerjohannst <johannes.stoelp@gmail.de>2019-07-07 18:21:14 +0200
commit35bd7cf5e48659c167c48c497023f382ee9f307e (patch)
tree3580787b3ab4d7aecd6c88af283073ffe342394a /install_rust_tools
parent069d767cf2b97dfd2dbe027be4d9cc0a04e7504b (diff)
downloaddotfiles-35bd7cf5e48659c167c48c497023f382ee9f307e.tar.gz
dotfiles-35bd7cf5e48659c167c48c497023f382ee9f307e.zip
added print to install rust tools script
Diffstat (limited to 'install_rust_tools')
-rwxr-xr-xinstall_rust_tools1
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]"