remove node_modules if present

This commit is contained in:
AJ ONeal 2017-05-09 10:34:00 -06:00
parent a8ed9b3185
commit 355dc2f6f8
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ my_app_launchd_service="Library/LaunchDaemons/${my_app_pkg_name}.plist"
#git clone git@git.daplie.com:Daplie/walnut.js.git
#git clone https://git.daplie.com/Daplie/walnut.js.git /srv/walnut/core
sudo mkdir -p /srv/walnut/{core,lib,etc,config,node_modules}
rm -rf /srv/walnut/core/node_modules
ln -sf ../node_modules /srv/walnut/core/node_modules
sudo mkdir -p /srv/walnut/etc/org.oauth3.consumer
sudo mkdir -p /srv/walnut/etc/org.oauth3.provider