fix: do not treat cached vcs packages as local

This commit is contained in:
2024-09-17 18:02:24 +03:00
parent a396126a79
commit 7a3d32dcfa
2 changed files with 17 additions and 0 deletions

View File

@ -153,6 +153,8 @@ class UpdateHandler(PackageInfo, Cleaner):
local = packages.get(remote.base)
if local is None:
continue # we don't add packages automatically
if local.remote.is_remote:
continue # avoid checking AUR packages
if local.is_outdated(remote, self.paths,
vcs_allowed_age=self.vcs_allowed_age,