Revert "grml-live: clean up MIRROR_DIRECTORY if provided."
authorMichael Prokop <mika@grml.org>
Sat, 24 Apr 2021 21:34:41 +0000 (23:34 +0200)
committerMichael Prokop <mika@grml.org>
Sat, 24 Apr 2021 21:34:41 +0000 (23:34 +0200)
commita9506baa4a8065fbb08f31ce7b132efee18fb409
tree94a7fbec5a9f99aa672295b8554b757fc4c6a976
parent79d0a1c447e3c88ba13b8c1efac8a663e4b83cef
Revert "grml-live: clean up MIRROR_DIRECTORY if provided."

This reverts commit c78f58bfee79af61276e3e91457a1b0faa55bbf5.

While deleting the bind-mount destination of mirror directories is fine
in theory, we end up deleting empty base directories as well, which
is unexpected and unwanted behavior.

See https://github.com/grml/grml-live/pull/104 for the related
discussion, this issue needs further attention yet before we can
include this in a new release of grml-live.
grml-live