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=$?