reh.patch.no 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
  2. index 595d0ce..2e94d99 100644
  3. --- a/build/gulpfile.reh.js
  4. +++ b/build/gulpfile.reh.js
  5. @@ -375,10 +375,2 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
  6. - if (platform === 'linux' || platform === 'alpine') {
  7. - result = es.merge(result,
  8. - gulp.src(`resources/server/bin/helpers/check-requirements-linux.sh`, { base: '.' })
  9. - .pipe(rename(`bin/helpers/check-requirements.sh`))
  10. - .pipe(util.setExecutableBit())
  11. - );
  12. - }
  13. -
  14. return result.pipe(vfs.dest(destination));
  15. diff --git a/resources/server/bin/code-server-linux.sh b/resources/server/bin/code-server-linux.sh
  16. index e3d96bd..3df32df 100644
  17. --- a/resources/server/bin/code-server-linux.sh
  18. +++ b/resources/server/bin/code-server-linux.sh
  19. @@ -11,22 +11,2 @@ ROOT="$(dirname "$(dirname "$(readlink -f "$0")")")"
  20. -# Do not remove this check.
  21. -# Provides a way to skip the server requirements check from
  22. -# outside the install flow. A system process can create this
  23. -# file before the server is downloaded and installed.
  24. -skip_check=0
  25. -if [ -f "/tmp/vscode-skip-server-requirements-check" ]; then
  26. - echo "!!! WARNING: Skipping server pre-requisite check !!!"
  27. - echo "!!! Server stability is not guaranteed. Proceed at your own risk. !!!"
  28. - skip_check=1
  29. -fi
  30. -
  31. -# Check platform requirements
  32. -if [ "$(echo "$@" | grep -c -- "--skip-requirements-check")" -eq 0 ] && [ $skip_check -eq 0 ]; then
  33. - $ROOT/bin/helpers/check-requirements.sh
  34. - exit_code=$?
  35. - if [ $exit_code -ne 0 ]; then
  36. - exit $exit_code
  37. - fi
  38. -fi
  39. -
  40. "$ROOT/node" ${INSPECT:-} "$ROOT/out/server-main.js" "$@"