From 289b983af8021a5dc72c916177b54af6e1ea4608 Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 23 Feb 2023 14:56:06 +1000 Subject: Say which host the out of date package is from. --- apt-panopticon.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 93243a4..7854928 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua @@ -828,12 +828,12 @@ local parsePackages = function(host) ' | grep -E "^\\+" | grep -Ev "^\\+\\+\\+|^---" >>results/NEW_' .. list.out .. '_TMP_' .. n .. '.txt') for i, s in pairs(referenceDebs) do if 0 == APT.exe('grep -q "' .. s:sub(8, -1) .. '" results/OLD_' .. list.out .. '_' .. n .. '.txt'):log():Do().status then - print('Reference package is out of date (' .. n .. ') - ' .. s) + print('Reference package is out of date from ' .. host .. ' (' .. n .. ') - ' .. s) end end for i, s in pairs(referenceDevs) do if 0 == APT.exe('grep -q "' .. s:sub(8, -1) .. '" results/OLD_' .. list.out .. '_' .. n .. '.txt'):log():Do().status then - print('Reference package is out of date (' .. n .. ') - ' .. s) + print('Reference package is out of date from ' .. host .. ' (' .. n .. ') - ' .. s) end end else -- cgit v1.1