Disable REMOVE_OLD_MODS when it interferes with managed mod/plugin features (#2648)

This commit is contained in:
Geoff Bourne
2024-02-09 06:59:05 -06:00
committed by GitHub
parent 15c2e21e54
commit 6aaed2da68
4 changed files with 21 additions and 0 deletions

View File

@@ -347,4 +347,13 @@ function resolveFamily() {
;;
esac
export FAMILY
}
function ensureRemoveAllModsOff() {
reason=${1?}
if isTrue "${REMOVE_OLD_MODS:-false}"; then
log "WARNING using REMOVE_OLDS_MODS interferes with $reason -- it is now disabled"
REMOVE_OLD_MODS=false
fi
}