We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dfa61a commit 3d4cdf3Copy full SHA for 3d4cdf3
1 file changed
config/jupyterhub/08-pi-home-and-spawn-fixes.py
@@ -597,10 +597,6 @@
597
code_server_bootstrap_script = textwrap.dedent(
598
"""
599
set -u
600
- if [ "${JUPYTERHUB_SERVER_NAME:-}" = "pi" ]; then
601
- exit 0
602
- fi
603
-
604
# Local/dev convenience: provide a minimal sudo shim for root-run pods
605
# when the base image does not ship sudo.
606
if [ "$(id -u)" = "0" ] && ! command -v sudo >/dev/null 2>&1; then
@@ -620,6 +616,10 @@
620
616
chmod 0755 /usr/local/bin/sudo || true
621
617
fi
622
618
619
+ if [ "${JUPYTERHUB_SERVER_NAME:-}" = "pi" ]; then
+ exit 0
+ fi
+
623
CS_BIN="$HOME/.local/bin/code-server"
624
if [ -x "$CS_BIN" ]; then
625
exit 0
0 commit comments