aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-12-24 19:32:45 +1000
committeronefang2019-12-24 19:32:45 +1000
commita80286020c4b24f4445d2df1142ed09e75b7c720 (patch)
treefec3fa22e94812ea6a66b4e3a87ccf175bb3f38a
parentMake URL sanity test more generic. (diff)
downloadapt-panopticon-a80286020c4b24f4445d2df1142ed09e75b7c720.zip
apt-panopticon-a80286020c4b24f4445d2df1142ed09e75b7c720.tar.gz
apt-panopticon-a80286020c4b24f4445d2df1142ed09e75b7c720.tar.bz2
apt-panopticon-a80286020c4b24f4445d2df1142ed09e75b7c720.tar.xz
Rearrange the package selection, Devuan first, security second.
-rwxr-xr-xapt-panopticon.lua4
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