Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SciViews
svbox-renku
Commits
bbe70a60
Commit
bbe70a60
authored
Aug 30, 2021
by
Philippe Grosjean
Browse files
Update post-init.sh
parent
9fda68f9
Pipeline
#246517
passed with stage
in 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
post-init.sh
View file @
bbe70a60
...
...
@@ -36,11 +36,11 @@ echo /home/rstudio/${CI_PROJECT} > /home/rstudio/.config/renkudir
chown
rstudio:rstudio /home/rstudio/.config/renkudir
# Install GitHub credentials
cp
/home/rstudio/
${
CI_PROJECT
}
/config/credentials /home/rstudio/
${
CI_PROJECT
}
/.git/
cp
/home/rstudio/
${
CI_PROJECT
}
/
.
config/credentials /home/rstudio/
${
CI_PROJECT
}
/.git/
# If there is a custom RStudio prefs, install it
if
[[
-f
/home/rstudio/
${
CI_PROJECT
}
/config/rstudio-prefs-user.json
]]
;
then
cp
/home/rstudio/
${
CI_PROJECT
}
/config/rstudio-prefs-user.json /home/rstudio/.config/rstudio/rstudio-prefs.json
if
[[
-f
/home/rstudio/
${
CI_PROJECT
}
/
.
config/rstudio-prefs-user.json
]]
;
then
cp
/home/rstudio/
${
CI_PROJECT
}
/
.
config/rstudio-prefs-user.json /home/rstudio/.config/rstudio/rstudio-prefs.json
chown
rstudio:rstudio /home/rstudio/.config/rstudio/rstudio-prefs.json
fi
...
...
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