Skip to content

Commit

Permalink
Merge branch 'patch-2' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
colearendt committed Jan 24, 2024
2 parents 95b4d64 + 14704a3 commit c5c662c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion charts/rstudio-workbench/prestart-launcher.bash
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,13 @@ main() {
/usr/local/share/ca-certificates/Kubernetes/cert-Kubernetes.crt 2>&1 | _indent

_logf 'Updating CA certificates'
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
DIST=$(cat /etc/os-release | grep "^ID=" -E -m 1 | cut -c 4-10 | sed 's/"//g')
if [[ $DIST == "ubuntu" ]]; then
update-ca-certificates 2>&1 | _indent
elif [[ $DIST == "rhel" || $DIST == "almalinux" ]]; then
update-ca-trust 2>&1 | _indent
fi

_logf 'Preparing dirs'
mkdir -p \
Expand Down

0 comments on commit c5c662c

Please sign in to comment.