aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xapt-panopticon.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index 0ef3bf5..43eeccf 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -754,6 +754,16 @@ local parsePackages = function(host)
754 os.execute('diff -U 0 Packages/' .. n .. dir .. 'Packages_parsed-sorted ' .. 754 os.execute('diff -U 0 Packages/' .. n .. dir .. 'Packages_parsed-sorted ' ..
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
758 if 0 < Apt.exe('grep "' .. s:sub(8, -1) .. '" results/OLD_' .. list.out .. '_' .. n .. '.txt'):Do().status then
759 print('Reference package is out of date - ' .. s)
760 end
761 end
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
764 print('Reference package is out of date - ' .. s)
765 end
766 end
757 else 767 else
758 C("Can't find file Packages/" .. n .. dir .. "Packages_parsed-sorted") 768 C("Can't find file Packages/" .. n .. dir .. "Packages_parsed-sorted")
759 end 769 end