| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2693c3f commit 1eaed4c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -485,7 +485,11 @@ func downloadScript(codeServerPath string) string { | |||
| 485 | 485 | pkill -f %v || true | |
| 486 | 486 | mkdir -p ~/.local/share/code-server %v | |
| 487 | 487 | cd %v | |
| 488 | - wget -N https://codesrv-ci.cdr.sh/latest-linux | ||
| 488 | + curlflags="-o latest-linux" | ||
| 489 | + if [ -f latest-linux ]; then | ||
| 490 | + curlflags="$curlflags -z latest-linux" | ||
| 491 | + fi | ||
| 492 | + curl $curlflags https://codesrv-ci.cdr.sh/latest-linux | ||
| 489 | 493 | [ -f %v ] && rm %v | |
| 490 | 494 | ln latest-linux %v | |
| 491 | 495 | chmod +x %v`, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments