Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
devcontainer-features
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eazydevelop-devcontainer-temp
devcontainer-features
Commits
4df144e7
Unverified
Commit
4df144e7
authored
May 16, 2022
by
Samruddhi Khandale
Committed by
GitHub
May 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Common: Moving contents from setup-user.sh (#16)
* common: append data * move contents * nit
parent
d0dd0700
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
install.sh
src/common/install.sh
+18
-0
No files found.
src/common/install.sh
View file @
4df144e7
...
...
@@ -451,4 +451,22 @@ 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
' > /usr/local/etc/vscode-dev-containers/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 "/usr/local/etc/vscode-dev-containers/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!"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment