diff --git a/init.sh b/init.sh index 712e420..f8e25d3 100644 --- a/init.sh +++ b/init.sh @@ -111,7 +111,7 @@ else git remote add upstream $DL_LINK fi echo " === Pulling from GitHub... (This might take a while)" - git pull upstream master 2> /dev/null + git pull --depth=1 upstream master 2> /dev/null VERSION=$(jq -r .version package.json) # Get version from package.json echo " === Starting version $VERSION" httpd-foreground @@ -168,4 +168,4 @@ else exit 1 fi fi -fi \ No newline at end of file +fi