diff options
Diffstat (limited to 'src/common-utils/install.sh')
-rwxr-xr-x | src/common-utils/install.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/common-utils/install.sh b/src/common-utils/install.sh index 46e285b..0a62569 100755 --- a/src/common-utils/install.sh +++ b/src/common-utils/install.sh @@ -448,22 +448,4 @@ echo -e "\ RC_SNIPPET_ALREADY_ADDED=${RC_SNIPPET_ALREADY_ADDED}\n\ ZSH_ALREADY_INSTALLED=${ZSH_ALREADY_INSTALLED}" > "${MARKER_FILE}" -# Display a notice on conda when not running in GitHub Codespaces -cat << 'EOF' > ${DEV_CONTAINERS_DIR}/conda-notice.txt -When using "conda" from outside of GitHub Codespaces, note the Anaconda repository contains -restrictions on commercial use that may impact certain organizations. See https://aka.ms/ghcs-conda - -EOF - -notice_script="$(cat << 'EOF' -if [ -t 1 ] && [ "${IGNORE_NOTICE}" != "true" ] && [ "${TERM_PROGRAM}" = "vscode" ] && [ "${CODESPACES}" != "true" ] && [ ! -f "$HOME/.config/vscode-dev-containers/conda-notice-already-displayed" ]; then - cat "${DEV_CONTAINERS_DIR}/conda-notice.txt" - mkdir -p "$HOME/.config/vscode-dev-containers" - ((sleep 10s; touch "$HOME/.config/vscode-dev-containers/conda-notice-already-displayed") &) -fi -EOF -)" - -echo "${notice_script}" | tee -a /etc/bash.bashrc >> /etc/zsh/zshrc - echo "Done!" |