Skip to content

Commit 759dee2

Browse files
committed
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
1 parent 190ffd3 commit 759dee2

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ fi
4545

4646
if [ -d /config/.bat-extras ]; then
4747
echo 'Bat-extras already cloned, updating'
48+
git config --global --add safe.directory /config/.bat-extras
4849
git -C /config/.bat-extras pull
4950
else
5051
echo 'Cloning bat-extras repo'

0 commit comments

Comments
 (0)