mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-03-15 11:11:23 +00:00
Prevent generic modpack overwriting eula file (#1773)
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user