Skip to content

Commit

Permalink
fix: allow fedora based packages
Browse files Browse the repository at this point in the history
  • Loading branch information
philcali committed Aug 1, 2023
1 parent 200fb10 commit a192bd3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/packagedcode/rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,7 @@ class RpmInstalledNdbDatabaseHandler(BaseRpmInstalledDatabaseHandler):
class RpmInstalledSqliteDatabaseHandler(BaseRpmInstalledDatabaseHandler):
# used by newer RHEL/CentOS/Fedora
datasource_id = 'rpm_installed_database_sqlite'
path_patterns = ('*var/lib/rpm/rpmdb.sqlite',)
filetypes = ('berkeley',)
path_patterns = ('*var/lib/rpm/rpmdb.sqlite', '*usr/lib/sysimage/rpm/rpmdb.sqlite',)
default_package_type = 'rpm'
default_package_namespace = 'TBD'
description = 'RPM installed package SQLite database'
Expand Down

0 comments on commit a192bd3

Please sign in to comment.