aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apt-panopticon.lua
diff options
context:
space:
mode:
Diffstat (limited to 'apt-panopticon.lua')
-rwxr-xr-xapt-panopticon.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index 43eeccf..2237232 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -345,7 +345,7 @@ checkHEAD = function (host, URL, r, retry, sanity)
345 if nil ~= location then 345 if nil ~= location then
346 pu = url.parse(location, defaultURL) 346 pu = url.parse(location, defaultURL)
347 if (pu.host == APT.options.roundRobin.value) and (nil ~= PU.path:find('merged/pool/DEVUAN/')) then 347 if (pu.host == APT.options.roundRobin.value) and (nil ~= PU.path:find('merged/pool/DEVUAN/')) then
348 E('DEVUAN packages must not be redirected to ' .. APT.options.roundRobin.value .. ' - ' .. APT.lnk(URL) .. arw .. APT.lnk(location), PU.scheme, sanity, host) 348 E('DEVUAN packages must not be redirected to ' .. APT.options.roundRobin.value .. ' - ' .. APT.lnk(URL) .. arw .. APT.lnk(location), PU.scheme, 'Redirects', host)
349 end 349 end
350 if ('http' == location:sub(1, 4)) and (pu.scheme ~= PU.scheme) then -- Sometimes a location sans scheme is returned, this is not a protocol change. 350 if ('http' == location:sub(1, 4)) and (pu.scheme ~= PU.scheme) then -- Sometimes a location sans scheme is returned, this is not a protocol change.
351 if APT.testing("Protocol") then 351 if APT.testing("Protocol") then
@@ -393,7 +393,7 @@ checkHEAD = function (host, URL, r, retry, sanity)
393 end 393 end
394 end 394 end
395 elseif nil ~= PU.path:find('merged/pool/DEBIAN-SECURITY/') then 395 elseif nil ~= PU.path:find('merged/pool/DEBIAN-SECURITY/') then
396 W('DEBIAN-SECURITY packages must be redirected to a Debian mirror - ' .. APT.lnk(URL) .. arw .. APT.lnk(location), PU.scheme, sanity, host) 396 W('DEBIAN-SECURITY packages must be redirected to a Debian mirror - ' .. APT.lnk(URL) .. arw .. APT.lnk(location), PU.scheme, 'Redirects', host)
397 end 397 end
398 end 398 end
399end 399end