From 4e0d665e1ae16a32cc6f47395f997d9758bf694f Mon Sep 17 00:00:00 2001 From: casjay Date: Wed, 25 Sep 2024 09:10:33 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/root/docker/setup/00-init.sh --- rootfs/root/docker/setup/00-init.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rootfs/root/docker/setup/00-init.sh b/rootfs/root/docker/setup/00-init.sh index 09157e8..f14f6ed 100755 --- a/rootfs/root/docker/setup/00-init.sh +++ b/rootfs/root/docker/setup/00-init.sh @@ -27,7 +27,9 @@ exitCode=0 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Main script - +if grep -qs 'DisableSandbox$' '/etc/pacman.conf'; then + sed -i 's|#.*DisableSandbox|DisableSandbox|g' '/etc/pacman.conf' +fi # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Set the exit code exitCode=$?