docker-minecraft-server
docker-minecraft-server copied to clipboard
Remove old files
Enhancement Type
Improve an existing feature
Describe the enhancement
Currently, REMOVE_OLD_MODS
only targets the mods and plugins directory.
https://github.com/itzg/docker-minecraft-server/blob/46a09ed33103074f9c956a8cdf08bed564e40738/scripts/start-setupModpack#L19-L23
I propose we rename the variable to REMOVE_OLD_FILES
and allow the REMOVE_OLD_FILES_INCLUDE
to contain the path globs the user wishes to remove.
I like the idea of a broader option, but am unsure if it should replace REMOVE_OLD_MODS
. Other than being yet another variable, any problems you can see with having that as an option alongside the other?
I like the idea of a broader option, but am unsure if it should replace
REMOVE_OLD_MODS
. Other than being yet another variable, any problems you can see with having that as an option alongside the other?
None in mind, I imagine supporting the [deprecated] operation, specifying REMOVE_OLD_MODS
would just populate REMOVE_OLD_FILES_INCLUDE
with the old defaults or something.