mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Galaxy: Don't consider blacklisted files to be orphaned
Forgot to change this for --galaxy-install in cc44c35aaa
This commit is contained in:
parent
de12af288c
commit
b37dafb425
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user