create the .npm directory if it does not exist

This commit is contained in:
Cyryl Plotnicki-Chudyk 2015-08-18 20:59:14 +02:00
parent 27f2cb1fcc
commit 66c010bbc8

View file

@ -86,7 +86,8 @@ echo "installing vdirsyncer"
sudo pip install vdirsyncer
# normalize npm permissions
sudo chown $USER .npm -R
mkdir -p $HOME/.npm
sudo chown $USER $HOME/.npm -R
echo
echo "now go ahead and restart"