Skip to content

Commit

Permalink
fix(rstudio): permissions on rstudio-prefs.json
Browse files Browse the repository at this point in the history
  • Loading branch information
avouacr authored Nov 14, 2024
1 parent 80d7b87 commit fb0bb3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/onyxia-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ if [[ "$DARK_MODE" == "true" ]]; then
fi
if command -v rstudio-server; then
jq '. + {"editor_theme": "Vibrant Ink"}' ${HOME}/.config/rstudio/rstudio-prefs.json > ${HOME}/tmp.settings.json && mv ${HOME}/tmp.settings.json ${HOME}/.config/rstudio/rstudio-prefs.json
chown -R ${USERNAME}:${GROUPNAME} ${HOME}/.config
fi
fi

Expand Down

0 comments on commit fb0bb3a

Please sign in to comment.