purrbits commited on
Commit
e8cbb7c
·
verified ·
1 Parent(s): 7d699e3

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +5 -3
start.sh CHANGED
@@ -1,8 +1,10 @@
1
  #!/bin/bash
2
- if [ ! -d "./.git" ]; then
3
- git clone https://github.com/synshin9/Restfull-Api.git .
4
- else
5
  git pull origin main
 
 
6
  fi
7
 
8
  npm install
 
1
  #!/bin/bash
2
+ set -e
3
+
4
+ if [ -d ".git" ]; then
5
  git pull origin main
6
+ else
7
+ git clone https://github.com/synshin9/Restfull-Api.git .
8
  fi
9
 
10
  npm install