build-system: bugfix in rebuild package check

This commit is contained in:
2025-04-09 16:39:16 +02:00
parent fccdb4131e
commit cd3bf561a9
+1 -1
View File
@@ -1489,7 +1489,7 @@ _build_module() {
bm::remove_module
elif [[ "${module_release}" == 'deprecated' ]]; then
bm::deprecate_module
elif [[ -d "${PREFIX}" || "${is_subpkg}" == 'yes' ]] && [[ "${force_rebuild}" == 'no' ]]; then
elif [[ -d "${PREFIX}" && "${is_subpkg}" != 'yes' ]] && [[ "${force_rebuild}" == 'no' ]]; then
std::info \
"%s " \
"${module_name}/${module_version}:" \