Fix sync not completing when some packages are disabled, and make readme pretty

This commit is contained in:
phosphene47
2021-12-12 20:06:44 +11:00
parent 6bcdc96552
commit 63be58d87d
2 changed files with 9 additions and 0 deletions

View File

@ -470,11 +470,13 @@ end
local function sync(package, cb)
if not package.enabled then
cb()
return
end
if package.exists then
if package.pin then
cb()
return
end