diff options
-rwxr-xr-x | apt-panopticon.lua | 4 |
1 files 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) | |||
828 | ' | grep -E "^\\+" | grep -Ev "^\\+\\+\\+|^---" >>results/NEW_' .. list.out .. '_TMP_' .. n .. '.txt') | 828 | ' | grep -E "^\\+" | grep -Ev "^\\+\\+\\+|^---" >>results/NEW_' .. list.out .. '_TMP_' .. n .. '.txt') |
829 | for i, s in pairs(referenceDebs) do | 829 | for i, s in pairs(referenceDebs) do |
830 | if 0 == APT.exe('grep -q "' .. s:sub(8, -1) .. '" results/OLD_' .. list.out .. '_' .. n .. '.txt'):log():Do().status then | 830 | if 0 == APT.exe('grep -q "' .. s:sub(8, -1) .. '" results/OLD_' .. list.out .. '_' .. n .. '.txt'):log():Do().status then |
831 | print('Reference package is out of date (' .. n .. ') - ' .. s) | 831 | print('Reference package is out of date from ' .. host .. ' (' .. n .. ') - ' .. s) |
832 | end | 832 | end |
833 | end | 833 | end |
834 | for i, s in pairs(referenceDevs) do | 834 | for i, s in pairs(referenceDevs) do |
835 | if 0 == APT.exe('grep -q "' .. s:sub(8, -1) .. '" results/OLD_' .. list.out .. '_' .. n .. '.txt'):log():Do().status then | 835 | if 0 == APT.exe('grep -q "' .. s:sub(8, -1) .. '" results/OLD_' .. list.out .. '_' .. n .. '.txt'):log():Do().status then |
836 | print('Reference package is out of date (' .. n .. ') - ' .. s) | 836 | print('Reference package is out of date from ' .. host .. ' (' .. n .. ') - ' .. s) |
837 | end | 837 | end |
838 | end | 838 | end |
839 | else | 839 | else |