From 35bd7cf5e48659c167c48c497023f382ee9f307e Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 7 Jul 2019 18:21:14 +0200 Subject: added print to install rust tools script --- install_rust_tools | 1 + 1 file changed, 1 insertion(+) (limited to 'install_rust_tools') 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]" -- cgit v1.2.3