mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-01-19 03:41:50 +08:00
Add exception for git pull
Make the ruby-build folder safe to pull from even when its not owned by root
This commit is contained in:
parent
21ba845946
commit
4b405beb0c
@ -20,6 +20,7 @@ if [ -d /config/.rbenv/plugins/ruby-build ]; then
|
||||
/config/.rbenv
|
||||
|
||||
echo 'Upgrading ruby-build plugin'
|
||||
git config --global --add safe.directory /config/.rbenv/plugins/ruby-build
|
||||
git -C /config/.rbenv/plugins/ruby-build pull
|
||||
else
|
||||
echo 'Cloning ruby-build plugin repo'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user