Skip to content

Conversation

@It-is-Sean
Copy link

Summary

Replace the original hardcoded pacman database path. Now it will auto detect the DBPath directory configured by /etc/pacman.conf. If DBPath is not set, it will fall back to the default /var/lib/pacman/local.

Related issue

Closes #2068

Changes

  • Modified src/detection/packages/packages_linux.c. Added a static function getPacmanPackages

Checklist

  • I have tested my changes locally.

@CarterLi
Copy link
Member

CarterLi commented Jan 16, 2026

Please do NOT post unrelated changes, e.g. code formatting.

Your PR is not review-able. Closing.

@CarterLi CarterLi closed this Jan 16, 2026
@It-is-Sean
Copy link
Author

Sorry. My bad. I've created a new pull request #2154

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Pacman packages do not show on systems with a different DBPath directory

2 participants