From ba6dcedb49331b9ceced648e4c52a89439689923 Mon Sep 17 00:00:00 2001 From: stebifan Date: Sat, 14 Apr 2018 22:39:57 +0200 Subject: [PATCH] test --- start.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/start.sh b/start.sh index c1a9a04..dea37a4 100644 --- a/start.sh +++ b/start.sh @@ -1,9 +1,7 @@ #!/bin/sh -sleep 60 -rm -rf /opt/meshviewer/ -git clone https://github.com/Freifunk-Troisdorf/meshviewer.git /opt/meshviewer -cd /opt/meshviewer +git clone https://github.com/Freifunk-Troisdorf/meshviewer.git /tmp +cd /tmp npm install gulp -D yarn yarn global add gulp-cli gulp -ln -s /opt/meshviewer/build/index.html /opt/meshviewer/index.html \ No newline at end of file +cp -r /tmp/build/* /opt/meshviewer/build/