View | Details | Raw Unified | Return to bug 48319
Collapse All | Expand All

(-)a/dedup.lua (-2 / +1 lines)
Lines 23-29 allowed_dups = confgetlist("RPM::Allow-Duplicated") Link Here
23
function isAllowed(pkg)
23
function isAllowed(pkg)
24
    for i, pattern in pairs(allowed_dups) do
24
    for i, pattern in pairs(allowed_dups) do
25
	-- ugly hack: lua is bad at pattern matching
25
	-- ugly hack: lua is bad at pattern matching
26
	if os.execute("echo '"..pkg.."' |egrep -q '"..pattern.."'") then
26
	if os.execute("echo '"..pkg.."' |grep -E -q '"..pattern.."'") then
27
	    return 1
27
	    return 1
28
	end
28
	end
29
    end
29
    end
Lines 73-76 for i, pkg in pairs(pkglist()) do Link Here
73
73
74
    ::continue::
74
    ::continue::
75
end
75
end
76

Return to bug 48319