Add .pkg to to orphan check regex

.pkg is used for Mac patches
This commit is contained in:
Sude 2014-08-18 07:49:22 +03:00
parent 6eba3c76cc
commit 11be8a79cd

View File

@ -95,7 +95,7 @@ int main(int argc, char *argv[])
+ "French + Polish = " + std::to_string(GlobalConstants::LANGUAGE_FR) + "+" + std::to_string(GlobalConstants::LANGUAGE_PL) + " = " + std::to_string(GlobalConstants::LANGUAGE_FR | GlobalConstants::LANGUAGE_PL);
// Create help text for --check-orphans
std::string orphans_regex_default = ".*\\.(zip|exe|bin|dmg|old|deb|tar\\.gz)$"; // Limit to files with these extensions (".old" is for renamed older version files)
std::string orphans_regex_default = ".*\\.(zip|exe|bin|dmg|old|deb|tar\\.gz|pkg)$"; // Limit to files with these extensions (".old" is for renamed older version files)
std::string check_orphans_text = "Check for orphaned files (files found on local filesystem that are not found on GOG servers). Sets regular expression filter (Perl syntax) for files to check. If no argument is given then the regex defaults to '" + orphans_regex_default + "'";
bpo::variables_map vm;