diff --git a/bin/update b/bin/update index 999e05a..0ec854a 100755 --- a/bin/update +++ b/bin/update @@ -266,7 +266,7 @@ update-npm() { for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f3) do - npm -g install "$package" + npm install -g `echo $package | cut -d '@' -f 1` done seconds=$((`date +%s` - $start_npm_update ))