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))