inform user when no updates are found
This commit is contained in:
parent
c262e983d4
commit
eef823a684
1 changed files with 9 additions and 3 deletions
|
@ -125,9 +125,15 @@ if programToInstall == nil then
|
|||
finishInstall(files)
|
||||
end
|
||||
else
|
||||
print("getting updates...")
|
||||
local files = getAllFiles()
|
||||
|
||||
if #files == 0 then
|
||||
print("no updates found.")
|
||||
else
|
||||
for _, value in ipairs(files) do
|
||||
downloadFile(value)
|
||||
end
|
||||
finishInstall(files)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue