Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: helper_script: try without lib prefix. #3

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

l0ud
Copy link
Collaborator

@l0ud l0ud commented Apr 26, 2023

Change helper_script behavior to also try to search using predicted name without "lib" prefix.
Also added small trim to avoid trying package names like "libtest-" which happen pretty often after numeric characters removal.
Additional change: rely on "" if "" exist in name, not on extension. For example, there are multiple rpm packages which also use _ to separate name of version.

…etection

Signed-off-by: Przemyslaw Romaniak <przemyslaw.romaniak@intel.com>
Copy link
Owner

@bcieszko bcieszko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@l0ud l0ud merged commit 1cf1929 into bcieszko:issue-2918 Apr 28, 2023
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.

None yet

2 participants