From 82158b206649ab67b6e061e0c9ceed74c90c15be Mon Sep 17 00:00:00 2001 From: Olav Bakke Svendsen Date: Fri, 24 May 2024 20:57:01 +0200 Subject: [PATCH] lil whoopsie --- common/dl.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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)) -- 2.30.2