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
No known key found for this signature in database
GPG key ID: 071C4D9AE5E00E68
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