mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-11 10:51:34 +00:00
1 parent
e5bee8e79b
commit
cc204c297f
1 file changed
+1
-1
+1
-1
@@ -177,6 +177,6 @@ eula=${EULA,,}
|
|||||||
|
|
||||||
function removeOldMods {
|
function removeOldMods {
|
||||||
if [ -d "$1" ]; then
|
if [ -d "$1" ]; then
|
||||||
find "$1" -mindepth 1 -maxdepth ${REMOVE_OLD_MODS_DEPTH:-16} -wholename "${REMOVE_OLD_MODS_INCLUDE:-*}" -not -wholename "${REMOVE_OLD_MODS_EXCLUDE}" -delete
|
find "$1" -mindepth 1 -maxdepth ${REMOVE_OLD_MODS_DEPTH:-16} -wholename "${REMOVE_OLD_MODS_INCLUDE:-*}" -not -wholename "${REMOVE_OLD_MODS_EXCLUDE:-}" -delete
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user