dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit a2727fd66f430e6770682d952b726e35523372e7
parent 15cfe78c0a7aa0aed0113bdeaca0f2d509106ae3
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Sun, 19 Aug 2018 20:10:10 +0200

Verify npm cache in updatemaster

Diffstat:
Mbin/updatemaster | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/updatemaster b/bin/updatemaster @@ -192,8 +192,8 @@ else echo -e "\nCannot update Mac App Store apps. Please do so manually." fi -### NPM ### -echo -e "\n-- NPM update/upgrade." +### GLOBAL NPM ### +echo -e "\n-- NPM global update/upgrade." if command -v npm &> /dev/null; then outdated=$(npm outdated) if [ ${#outdated} = 0 ]; then @@ -202,6 +202,7 @@ if command -v npm &> /dev/null; then npm update -g notify "NPM Update Finished" "See Terminal for info." fi + npm cache verify else echo -e "\nnpm not found." echo -e "\nCannot update NPM packages. Please do so manually."