diff options
author | onefang | 2019-12-13 05:02:08 +1000 |
---|---|---|
committer | onefang | 2019-12-13 05:02:08 +1000 |
commit | 3e9ee1df599d4072ae6b68a9836a17e6f8751ef1 (patch) | |
tree | dd4012ab58d22ff9167b061b8fb8f03055f834be | |
parent | Refactor the protocols table. (diff) | |
download | apt-panopticon-3e9ee1df599d4072ae6b68a9836a17e6f8751ef1.zip apt-panopticon-3e9ee1df599d4072ae6b68a9836a17e6f8751ef1.tar.gz apt-panopticon-3e9ee1df599d4072ae6b68a9836a17e6f8751ef1.tar.bz2 apt-panopticon-3e9ee1df599d4072ae6b68a9836a17e6f8751ef1.tar.xz |
Have I finally fixed that copy-pasta bug?
-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 8b02626..b87bf72 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
@@ -524,7 +524,7 @@ local postDownload = function(host, r, k) | |||
524 | os.execute('grep -s " | pool/DEBIAN/" results/NEW_Packages_' .. r .. '.sorted.txt 2>/dev/null | head -n 1 >results/NEW_Packages_' .. r .. '.test.tmp') | 524 | os.execute('grep -s " | pool/DEBIAN/" results/NEW_Packages_' .. r .. '.sorted.txt 2>/dev/null | head -n 1 >results/NEW_Packages_' .. r .. '.test.tmp') |
525 | os.execute('grep -s " | pool/DEBIAN-SECURITY/" results/NEW_Packages_' .. r .. '.sorted.txt 2>/dev/null | head -n 1 >>results/NEW_Packages_' .. r .. '.test.tmp') | 525 | os.execute('grep -s " | pool/DEBIAN-SECURITY/" results/NEW_Packages_' .. r .. '.sorted.txt 2>/dev/null | head -n 1 >>results/NEW_Packages_' .. r .. '.test.tmp') |
526 | os.execute('grep -s " | pool/DEVUAN/" results/NEW_Packages_' .. r .. '.sorted.txt 2>/dev/null | head -n 1 >>results/NEW_Packages_' .. r .. '.test.tmp') | 526 | os.execute('grep -s " | pool/DEVUAN/" results/NEW_Packages_' .. r .. '.sorted.txt 2>/dev/null | head -n 1 >>results/NEW_Packages_' .. r .. '.test.tmp') |
527 | os.execute('mv results/NEW_Release_' .. n .. '.test.tmp results/NEW_Release_' .. n .. '.test.txt') | 527 | os.execute('mv results/NEW_Packages_' .. r .. '.test.tmp results/NEW_Packages_' .. r .. '.test.txt') |
528 | else | 528 | else |
529 | C("Can't find file Packages/" .. r .. dir .. "Packages_parsed-sorted") | 529 | C("Can't find file Packages/" .. r .. dir .. "Packages_parsed-sorted") |
530 | end | 530 | end |
@@ -532,7 +532,7 @@ local postDownload = function(host, r, k) | |||
532 | os.execute('mv -f results/pkgmaster.devuan.org/merged/dists/' .. r .. dir .. 'Packages_parsed-sorted Packages/' .. r .. dir .. 'Packages_parsed-sorted') | 532 | os.execute('mv -f results/pkgmaster.devuan.org/merged/dists/' .. r .. dir .. 'Packages_parsed-sorted Packages/' .. r .. dir .. 'Packages_parsed-sorted') |
533 | end | 533 | end |
534 | else | 534 | else |
535 | while not APT.checkFile('results/NEW_Release_' .. r .. '.test.txt') do os.execute('sleep 10') end | 535 | while not APT.checkFile('results/NEW_Packages_' .. r .. '.test.txt') do os.execute('sleep 10') end |
536 | end | 536 | end |
537 | os.execute('rm -f results/' .. host .. '/merged/dists/' .. r .. dir .. 'Packages 2>/dev/null') | 537 | os.execute('rm -f results/' .. host .. '/merged/dists/' .. r .. dir .. 'Packages 2>/dev/null') |
538 | os.execute('rm -f results/' .. host .. '/merged/dists/' .. r .. dir .. 'Packages.* 2>/dev/null') | 538 | os.execute('rm -f results/' .. host .. '/merged/dists/' .. r .. dir .. 'Packages.* 2>/dev/null') |