diff options
Diffstat (limited to 'apt-panopticon.lua')
-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 39e9fd2..49f7f6d 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
@@ -722,9 +722,9 @@ local parsePackages = function(host) | |||
722 | if APT.checkFile('results/NEW_' .. list.out .. '_TMP_' .. n .. '.txt') then | 722 | if APT.checkFile('results/NEW_' .. list.out .. '_TMP_' .. n .. '.txt') then |
723 | -- Sort by size. | 723 | -- Sort by size. |
724 | os.execute('sort -b -k 9,9 -n results/NEW_' .. list.out .. '_TMP_' .. n .. '.txt >results/NEW_' .. list.out .. '_' .. n .. '.sorted.txt') | 724 | os.execute('sort -b -k 9,9 -n results/NEW_' .. list.out .. '_TMP_' .. n .. '.txt >results/NEW_' .. list.out .. '_' .. n .. '.sorted.txt') |
725 | os.execute('grep -s " | pool/DEBIAN/" results/NEW_' .. list.out .. '_' .. n .. '.sorted.txt 2>/dev/null | head -n 1 >' .. outFile) | ||
726 | os.execute('grep -s " | pool/DEBIAN-SECURITY/" results/NEW_' .. list.out .. '_' .. n .. '.sorted.txt 2>/dev/null | head -n 1 >>' .. outFile) | ||
727 | os.execute('grep -s " | pool/DEVUAN/" results/NEW_' .. list.out .. '_' .. n .. '.sorted.txt 2>/dev/null | head -n 1 >>' .. outFile) | 725 | os.execute('grep -s " | pool/DEVUAN/" results/NEW_' .. list.out .. '_' .. n .. '.sorted.txt 2>/dev/null | head -n 1 >>' .. outFile) |
726 | os.execute('grep -s " | pool/DEBIAN-SECURITY/" results/NEW_' .. list.out .. '_' .. n .. '.sorted.txt 2>/dev/null | head -n 1 >>' .. outFile) | ||
727 | os.execute('grep -s " | pool/DEBIAN/" results/NEW_' .. list.out .. '_' .. n .. '.sorted.txt 2>/dev/null | head -n 1 >' .. outFile) | ||
728 | os.execute('rm -f results/NEW_' .. list.out .. '_TMP_' .. n .. '.txt') | 728 | os.execute('rm -f results/NEW_' .. list.out .. '_TMP_' .. n .. '.txt') |
729 | end | 729 | end |
730 | 730 | ||