Prevent generic modpack overwriting eula file (#1773)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2022-10-08 18:25:42 -05:00
1 parent 57dc84e204
commit 61592d5c3e
1 file changed
+3
+3
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 \