From eda6c678548dfe83833d7ae40146eea14cd6beb0 Mon Sep 17 00:00:00 2001 From: Sude Date: Thu, 31 Jul 2014 15:12:00 +0300 Subject: [PATCH] Add .deb and .tar.gz to orphan check regex --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 27e9bc3..6b6b92f 100644 --- a/main.cpp +++ b/main.cpp @@ -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)$"; // 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)$"; // 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;