Galaxy: Don't consider blacklisted files to be orphaned

Forgot to change this for --galaxy-install in cc44c35aaa
This commit is contained in:
Sude 2024-09-15 01:40:59 +03:00
parent de12af288c
commit b37dafb425

View File

@ -5278,6 +5278,11 @@ std::vector<std::string> Downloader::galaxyGetOrphanedFiles(const std::vector<ga
if (Globals::globalConfig.iMsgLevel >= MSGLEVEL_VERBOSE) if (Globals::globalConfig.iMsgLevel >= MSGLEVEL_VERBOSE)
std::cerr << "skipped ignorelisted file " << filepath << std::endl; std::cerr << "skipped ignorelisted file " << filepath << std::endl;
} }
else if (Globals::globalConfig.blacklist.isBlacklisted(filepath.substr(pathlen)))
{
if (Globals::globalConfig.iMsgLevel >= MSGLEVEL_VERBOSE)
std::cerr << "skipped blacklisted file " << filepath << std::endl;
}
else else
{ {
filepath_vector.push_back(dir_iter->path()); filepath_vector.push_back(dir_iter->path());