Skip to content

Commit 4b405be

Browse files
committed
Add exception for git pull
Make the ruby-build folder safe to pull from even when its not owned by root
1 parent 21ba845 commit 4b405be

File tree

1 file changed

+1
-0
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-mod-code-server-rbenv-install

1 file changed

+1
-0
lines changed

root/etc/s6-overlay/s6-rc.d/init-mod-code-server-rbenv-install/run

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ if [ -d /config/.rbenv/plugins/ruby-build ]; then
2020
/config/.rbenv
2121

2222
echo 'Upgrading ruby-build plugin'
23+
git config --global --add safe.directory /config/.rbenv/plugins/ruby-build
2324
git -C /config/.rbenv/plugins/ruby-build pull
2425
else
2526
echo 'Cloning ruby-build plugin repo'

0 commit comments

Comments
 (0)