aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xapt-panopticon.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index 70a9b83..7604a98 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -755,13 +755,13 @@ local parsePackages = function(host)
755 'results/' .. APT.options.referenceSite.value .. '/merged/dists/' .. n .. dir .. 'Packages_parsed-sorted ' .. 755 'results/' .. APT.options.referenceSite.value .. '/merged/dists/' .. n .. dir .. 'Packages_parsed-sorted ' ..
756 ' | grep -E "^\\+" | grep -Ev "^\\+\\+\\+|^---" >>results/NEW_' .. list.out .. '_TMP_' .. n .. '.txt') 756 ' | grep -E "^\\+" | grep -Ev "^\\+\\+\\+|^---" >>results/NEW_' .. list.out .. '_TMP_' .. n .. '.txt')
757 for i, s in pairs(referenceDebs) do 757 for i, s in pairs(referenceDebs) do
758 if 0 < APT.exe('grep "' .. s:sub(8, -1) .. '" results/OLD_' .. list.out .. '_' .. n .. '.txt'):Do().status then 758 if 0 == APT.exe('grep -q "' .. s:sub(8, -1) .. '" results/OLD_' .. list.out .. '_' .. n .. '.txt'):log():Do().status then
759 print('Reference package is out of date - ' .. s) 759 print('Reference package is out of date (' .. n .. ') - ' .. s)
760 end 760 end
761 end 761 end
762 for i, s in pairs(referenceDevs) do 762 for i, s in pairs(referenceDevs) do
763 if 0 < APT.exe('grep "' .. s:sub(8, -1) .. '" results/OLD_' .. list.out .. '_' .. n .. '.txt'):Do().status then 763 if 0 == APT.exe('grep -q "' .. s:sub(8, -1) .. '" results/OLD_' .. list.out .. '_' .. n .. '.txt'):log():Do().status then
764 print('Reference package is out of date - ' .. s) 764 print('Reference package is out of date (' .. n .. ') - ' .. s)
765 end 765 end
766 end 766 end
767 else 767 else