lil whoopsie
authorOlav Bakke Svendsen <mail@olavbs.no>
Fri, 24 May 2024 18:57:01 +0000 (20:57 +0200)
committerOlav Bakke Svendsen <mail@olavbs.no>
Fri, 24 May 2024 18:57:01 +0000 (20:57 +0200)
common/dl.lua

index 93040ba946bd7db74c0871bca638c8c1b8146d1f..940029887ccd2dcaeb05af39343f9d6560b7c155 100644 (file)
@@ -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))