From 8798d03b372ab1a0e311715c754900e889d744d0 Mon Sep 17 00:00:00 2001 From: Frederick Meisel Date: Fri, 23 Feb 2024 17:22:43 +0100 Subject: [PATCH] added verbose --- updater.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/updater.lua b/updater.lua index 20bc901..0262608 100644 --- a/updater.lua +++ b/updater.lua @@ -13,18 +13,22 @@ local targetFilepath = "/usr/PowerManager/" local helpText = "Usage:\n" .. "updater - manual update and install\n".."updater -h - this particular text\n" .. " '' -a - automatic update no install\n" .. " '' -i - automatic update and install" function manualUpdate() + print("Manual repo pull...") downloadRepo(repository, targetFilepath, false) end function manualInstall() + print("installing shortcut...") os.execute("mv shortcut.lua /usr/bin/powerman.lua") end function automaticUpdate() + print("Auto repo pull...") downloadRepo(repository, targetFilepath, true) end function automaticInstall() + print("Installing shortcut...") os.execute("mv shortcut.lua /usr/bin/powerman.lua") end