Prevent generic modpack overwriting eula file (#1773)

This commit is contained in:
Geoff Bourne
2022-10-08 18:25:42 -05:00
committed by GitHub
parent 57dc84e204
commit 61592d5c3e

View File

@@ -224,6 +224,9 @@ function genericPacks() {
extract "${pack}" "${base_dir}"
done
# Remove any eula file since container manages it
rm -f "${base_dir}/eula.txt"
# recalculate the actual base directory of content
if ! base_dir=$(mc-image-helper find \
--max-depth=3 --type=directory --name=mods,plugins,config \