Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix downloads and website urls for Rstudio and Rstudio-server #838

Merged
merged 1 commit into from Jun 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions 01-main/packages/rstudio
Expand Up @@ -3,7 +3,7 @@ get_website "https://posit.co/download/rstudio-desktop/"
if [ "${ACTION}" != "prettylist" ]; then
case "${UPSTREAM_CODENAME}" in
focal|buster|bullseye)
URL="$( grep -e "bionic/.*amd64.deb" "${CACHE_FILE}" | grep -v "tar.gz" | head -n1 | cut -d'"' -f4)"
URL="$( grep -e "focal/.*amd64.deb" "${CACHE_FILE}" | grep -v "tar.gz" | head -n1 | cut -d'"' -f4)"
;;
*)
URL="$( grep -e "jammy/.*amd64.deb" "${CACHE_FILE}" | grep -v "tar.gz" | head -n1 | cut -d'"' -f4)"
Expand All @@ -12,6 +12,6 @@ if [ "${ACTION}" != "prettylist" ]; then
VERSION_PUBLISHED="$(echo "${URL}" | cut -d'-' -f2-3 | tr - +)"
fi
PRETTY_NAME="RStudio"
WEBSITE="https://www.rstudio.com/"
WEBSITE="https://posit.co/"
#https://posit.co/products/open-source/rstudio/
SUMMARY="Professional software for data science teams."
4 changes: 2 additions & 2 deletions 01-main/packages/rstudio-server
Expand Up @@ -3,7 +3,7 @@ get_website "https://posit.co/download/rstudio-server/"
if [ "${ACTION}" != "prettylist" ]; then
case "${UPSTREAM_CODENAME}" in
focal|buster|bullseye)
URL="$( grep -o -E "wget.*bionic.*amd64\.deb" "${CACHE_FILE}" | cut -d' ' -f2)"
URL="$( grep -o -E "wget.*focal.*amd64\.deb" "${CACHE_FILE}" | cut -d' ' -f2)"
;;
*)
URL="$( grep -o -E "wget.*jammy.*amd64\.deb" "${CACHE_FILE}" | cut -d' ' -f2)"
Expand All @@ -12,6 +12,6 @@ if [ "${ACTION}" != "prettylist" ]; then
VERSION_PUBLISHED="$(echo "${URL}" | grep -E -o '[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+\-[[:digit:]]+' | tr - +)"
fi
PRETTY_NAME="RStudio Server"
WEBSITE="https://www.rstudio.com/"
WEBSITE="https://posit.co"
#https://posit.co/products/open-source/rstudio/
SUMMARY="Professional software for data science teams."