Skip to content

Commit

Permalink
fix test condition
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Aug 10, 2023
1 parent 993d8a5 commit cde22a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rstudio-server/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ check_r

# Soft version matching
# If RS_VERSION contains `daily` like `2023.09.0-daily+304`, the check will be skipped.
if [[ "${RS_VERSION}" == "stable" ]] || [[ "${RS_VERSION}" == "preview" ]] || [[ "${RS_VERSION}" == "*daily*" ]]; then
if [[ "${RS_VERSION}" != "stable" ]] && [[ "${RS_VERSION}" != "preview" ]] && [[ "${RS_VERSION}" != *"daily"* ]]; then
if [ ! -x "$(command -v git)" ]; then
check_packages git
fi
Expand Down

0 comments on commit cde22a8

Please sign in to comment.