From 759dee29512cdb744416405f77fbc47df95d4ac4 Mon Sep 17 00:00:00 2001 From: Some Watson Date: Sun, 30 Nov 2025 21:22:15 +0000 Subject: [PATCH] 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 --- root/etc/s6-overlay/s6-rc.d/init-mod-code-server-bat-install/run | 1 + 1 file changed, 1 insertion(+) diff --git a/root/etc/s6-overlay/s6-rc.d/init-mod-code-server-bat-install/run b/root/etc/s6-overlay/s6-rc.d/init-mod-code-server-bat-install/run index 3faa034..ef919a9 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-mod-code-server-bat-install/run +++ b/root/etc/s6-overlay/s6-rc.d/init-mod-code-server-bat-install/run @@ -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'