Skip to content

Commit

Permalink
[support/pkgs] Fix bug with collecting info about multilib versions o…
Browse files Browse the repository at this point in the history
…f RPM packages
  • Loading branch information
andyone committed Jan 23, 2025
1 parent b1365d4 commit 8444c7f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Changelog

### [13.15.9](https://kaos.sh/ek/13.15.9)

- `[support/pkgs]` Fixed bug with collecting info about multilib versions of RPM packages

### [13.15.8](https://kaos.sh/ek/13.15.8)

- `[terminal/input]` Improved support for custom title formatting with `fmtc` tags
Expand Down
3 changes: 2 additions & 1 deletion support/pkgs/pkgs_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ func getPackageInfo(names string) support.Pkg {

// getRPMPackageInfo returns info about package from rpm
func getRPMPackageInfo(name string) support.Pkg {
out := getCommandOutput("rpm", "-q", "--qf", "%{version}-%{release}.%{arch}", name)
out := getCommandOutput("rpm", "-q", "--qf", "%{version}-%{release}.%{arch} ", name)
out = strings.TrimSpace(out)

if len(out) == 0 {
return support.Pkg{name, ""}
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ package ek
// ////////////////////////////////////////////////////////////////////////////////// //

// VERSION is current ek package version
const VERSION = "13.15.8"
const VERSION = "13.15.9"

0 comments on commit 8444c7f

Please sign in to comment.