I have a local repo with a local files database. Which means that there are the files myrepo.db and myrepo.files in /var/lib/pacman/sync. This causes register_syncdb to be called twice on myrepo. alpm throws an error the second time.
This fix makes it so register_syncdb gets called on all unique repos only once.
I have a local repo with a local files database. Which means that there are the files
myrepo.db
andmyrepo.files
in/var/lib/pacman/sync
. This causesregister_syncdb
to be called twice onmyrepo
. alpm throws an error the second time.This fix makes it so
register_syncdb
gets called on all unique repos only once.