From 355dc2f6f8d26cc8a17b65998dcdfc79e7cc9946 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 9 May 2017 10:34:00 -0600 Subject: [PATCH] remove node_modules if present --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index f4c81f3..0a2109e 100755 --- a/install.sh +++ b/install.sh @@ -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