From b37dafb4257ef9db52ef703a89c6e12459e772f9 Mon Sep 17 00:00:00 2001 From: Sude Date: Sun, 15 Sep 2024 01:40:59 +0300 Subject: [PATCH] Galaxy: Don't consider blacklisted files to be orphaned Forgot to change this for --galaxy-install in cc44c35aaaf92b9486ca37628f5bfedec20897c6 --- src/downloader.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/downloader.cpp b/src/downloader.cpp index 0ced5f9..f177eb8 100644 --- a/src/downloader.cpp +++ b/src/downloader.cpp @@ -5278,6 +5278,11 @@ std::vector Downloader::galaxyGetOrphanedFiles(const std::vector= MSGLEVEL_VERBOSE) 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 { filepath_vector.push_back(dir_iter->path());