From: Olav Bakke Svendsen Date: Fri, 24 May 2024 18:57:01 +0000 (+0200) Subject: lil whoopsie X-Git-Tag: skystone~5 X-Git-Url: http://git.olavbs.no/?a=commitdiff_plain;h=82158b206649ab67b6e061e0c9ceed74c90c15be;p=cc.git lil whoopsie --- diff --git a/common/dl.lua b/common/dl.lua index 93040ba..9400298 100644 --- a/common/dl.lua +++ b/common/dl.lua @@ -21,10 +21,11 @@ do end for _, file in pairs(files) do - if repo = "live" then - local url = "https://cc.olavbs.no/live/"..file.from + local url = "" + if repo == "live" then + url = "https://cc.olavbs.no/live/"..file.from else - local url = "https://git.olavbs.no/?p="..repo..".git;a=blob_plain;f="..file.from..";hb="..tag + url = "https://git.olavbs.no/?p="..repo..".git;a=blob_plain;f="..file.from..";hb="..tag end if fs.exists(file.to) and file.overwrite then local tmp = textutils.serialize(math.random(100000,999999))