2024-07-11 13:37:35 +03:00
|
|
|
#!/bin/sh
|
|
|
|
set -f
|
|
|
|
|
|
|
|
. /image-entry.d/00-common.envsh
|
|
|
|
|
2024-07-23 00:03:46 +03:00
|
|
|
if [ "${IEP_RETAIN_MERGED_TREE}" = 1 ] ; then
|
2024-07-11 13:37:35 +03:00
|
|
|
log_always "NOT removing merged tree: ${merged_root}/"
|
|
|
|
else
|
|
|
|
log "removing merged tree: ${merged_root}/"
|
|
|
|
rm -rf "${merged_root}"
|
|
|
|
fi
|