From 9e359e5105bcde3e1e6f6fa1ccf214e59c120243 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 20 Feb 2017 12:28:03 +0000 Subject: [PATCH] [Minor] Allow to skip archives in multimap --- src/plugins/lua/multimap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua index 5afada789..843ca5515 100644 --- a/src/plugins/lua/multimap.lua +++ b/src/plugins/lua/multimap.lua @@ -668,7 +668,7 @@ local function multimap_callback(task, rule) filename = function() local parts = task:get_parts() for _,p in ipairs(parts) do - if p:is_archive() then + if p:is_archive() and not rule['skip_archives'] then local fnames = p:get_archive():get_files() for _,fn in ipairs(fnames) do -- 2.39.5