From 7e21413e7b2222213c9e5f6f599f216ddc394470 Mon Sep 17 00:00:00 2001 From: Kodi Craft Date: Thu, 27 Mar 2025 10:57:10 +0100 Subject: [PATCH] update installer to cleanup /tmp/ entirely --- install.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.lua b/install.lua index b4573ab..797c7a1 100644 --- a/install.lua +++ b/install.lua @@ -91,12 +91,14 @@ local function main() log.info("Installing") for k, v in ipairs(toDownload) do fs.delete(v.dest) - fs.move("/tmp/" .. v.hash .. ".lua", v.dest) + fs.copy("/tmp/" .. v.hash .. ".lua", v.dest) end + + fs.delete("/tmp/") else log.info("Nothing to do") end - + log.info("Installation complete!") end