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 bat-extras folder safe to pull when root doesn't own it That way we can automate pulling the latest updates on restart
This commit is contained in:
parent
190ffd387b
commit
759dee2951
@ -45,6 +45,7 @@ fi
|
||||
|
||||
if [ -d /config/.bat-extras ]; then
|
||||
echo 'Bat-extras already cloned, updating'
|
||||
git config --global --add safe.directory /config/.bat-extras
|
||||
git -C /config/.bat-extras pull
|
||||
else
|
||||
echo 'Cloning bat-extras repo'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user