rstudio: remove update check

* fix version information

Closes #37494
This commit is contained in:
Michal Vasilek 2022-06-11 10:59:12 +02:00 committed by John Zimmermann
parent 5be588b929
commit 6ccac45a35
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- a/src/cpp/session/SessionClientInit.cpp
+++ b/src/cpp/session/SessionClientInit.cpp
@@ -443,8 +443,7 @@
sessionInfo["disable_packages"] = module_context::disablePackages();
- sessionInfo["disable_check_for_updates"] =
- !core::system::getenv("RSTUDIO_DISABLE_CHECK_FOR_UPDATES").empty();
+ sessionInfo["disable_check_for_updates"] = true;
sessionInfo["allow_vcs_exe_edit"] = options.allowVcsExecutableEdit();
sessionInfo["allow_cran_repos_edit"] = options.allowCRANReposEdit();

View File

@ -47,6 +47,12 @@ pre_configure() {
ln -s /usr/bin/node dependencies/common/node/$_node_ver/bin/node
cd src/gwt
ant draft
_maj_min=${version%*.*}
export RSTUDIO_VERSION_MAJOR=${_maj_min%.*}
export RSTUDIO_VERSION_MINOR=${_maj_min#*.}
export RSTUDIO_VERSION_PATCH=${version#*.*.*}
export PACKAGE_OS=VoidLinux
}
post_install() {