aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xapt-panopticon.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index 8f8a363..d6227ec 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -823,7 +823,7 @@ drwxr-x--- 2 www-data www-data 4096 2019-12-23 01:02:57.000000000 +1000 aptly
823-rw-r--r-- 1 www-data www-data 7129 2019-12-23 01:03:54.000000000 +1000 curl-debs-pkgmaster.devuan.org.log 823-rw-r--r-- 1 www-data www-data 7129 2019-12-23 01:03:54.000000000 +1000 curl-debs-pkgmaster.devuan.org.log
824 824
825]] 825]]
826os.execute('sleep 2') 826os.execute('sleep 1') -- Wait for things to start up before checking for them.
827 while 0 < APT.checkExes(downloadLock .. list.out .. "-" .. host .. ".log") do 827 while 0 < APT.checkExes(downloadLock .. list.out .. "-" .. host .. ".log") do
828 D('*&lt;* About to yield coroutine while waiting on - 0 < APT.checkExes(' .. downloadLock .. list.out .. '-' .. host .. '.log') 828 D('*&lt;* About to yield coroutine while waiting on - 0 < APT.checkExes(' .. downloadLock .. list.out .. '-' .. host .. '.log')
829 coroutine.yield() 829 coroutine.yield()
@@ -963,6 +963,7 @@ if 0 < #arg then
963 end 963 end
964 964
965 if APT.origin and APT.options.referenceSite.value ~= pu.host then 965 if APT.origin and APT.options.referenceSite.value ~= pu.host then
966os.execute('sleep 1') -- Wait for things to start up before checking for them.
966 while 0 < APT.checkExes(downloadLock .. "Release-" .. pu.host .. ".log") do os.execute("sleep 10") end 967 while 0 < APT.checkExes(downloadLock .. "Release-" .. pu.host .. ".log") do os.execute("sleep 10") end
967 while 0 < APT.checkExes(downloadLock .. "Packages-" .. pu.host .. ".log") do os.execute("sleep 10") end 968 while 0 < APT.checkExes(downloadLock .. "Packages-" .. pu.host .. ".log") do os.execute("sleep 10") end
968 while 0 < APT.checkExes(downloadLock .. "package-" .. pu.host .. ".log") do os.execute("sleep 10") end 969 while 0 < APT.checkExes(downloadLock .. "package-" .. pu.host .. ".log") do os.execute("sleep 10") end
@@ -1007,6 +1008,7 @@ else
1007 end 1008 end
1008 end 1009 end
1009 1010
1011os.execute('sleep 1') -- Wait for things to start up before checking for them.
1010 while 1 <= APT.checkExes("apt-panopticon.lua " .. sendArgs) do os.execute("sleep 10") end 1012 while 1 <= APT.checkExes("apt-panopticon.lua " .. sendArgs) do os.execute("sleep 10") end
1011 1013
1012 for k, v in pairs(APT.mirrors) do 1014 for k, v in pairs(APT.mirrors) do
@@ -1030,6 +1032,7 @@ else
1030 end 1032 end
1031 end 1033 end
1032 1034
1035os.execute('sleep 1') -- Wait for things to start up before checking for them.
1033 while 1 <= APT.checkExes('tar -c --xz ' .. adt .. ' -f ' .. adt .. '.tar.xz') do os.execute("sleep 10") end 1036 while 1 <= APT.checkExes('tar -c --xz ' .. adt .. ' -f ' .. adt .. '.tar.xz') do os.execute("sleep 10") end
1034 if nil ~= adt then os.execute('rm -fr ' .. adt .. ' 2>/dev/null') end 1037 if nil ~= adt then os.execute('rm -fr ' .. adt .. ' 2>/dev/null') end
1035 1038