From 4285293f8248878426908f0cf80900fec9b61a1c Mon Sep 17 00:00:00 2001 From: QXYang686 Date: Sun, 15 Feb 2026 00:09:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91=E5=AE=B9=E5=99=A8=E9=85=8D?= =?UTF-8?q?=E7=BD=AE-=E5=88=9D=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.devcontainer/local-features/setup-user/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/universal-base/.devcontainer/local-features/setup-user/install.sh b/universal-base/.devcontainer/local-features/setup-user/install.sh index 2bf94ef..7ca4140 100644 --- a/universal-base/.devcontainer/local-features/setup-user/install.sh +++ b/universal-base/.devcontainer/local-features/setup-user/install.sh @@ -9,7 +9,8 @@ fi # Ensure that login shells get the correct path if the user updated the PATH using ENV. rm -f /etc/profile.d/00-restore-env.sh -echo "" > /etc/profile.d/00-restore-env.sh +echo $SHELL +echo "export PATH=${PATH//$(sh -lc 'echo $PATH')/\$PATH}" > /etc/profile.d/00-restore-env.sh chmod +x /etc/profile.d/00-restore-env.sh export DEBIAN_FRONTEND=noninteractive