Skip to content

Commit

Permalink
Fix downloads and website urls for Rstudio and Rstudio-server
Browse files Browse the repository at this point in the history
  • Loading branch information
collioud authored and philclifford committed Jun 14, 2023
1 parent 265701b commit 92ca445
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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."

0 comments on commit 92ca445

Please sign in to comment.