Skip to content

Commit

Permalink
chore: add alma and rhel identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 committed Sep 30, 2024
1 parent 9249001 commit 1afc778
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,28 @@ const (

var (
Releases = [...]string{
"alma",
"alpine",
"amazon",
"arch",
"centos",
"debian",
"fedora",
"rhel",
"rocky",
"ubuntu",
}

DistroToPackageManager = map[string]string{
"alma": "redhat",
"alpine": "alpine",
"amazon": "redhat",
"arch": "pacman",
"centos": "redhat",
"debian": "debian",
"fedora": "redhat",
"oracle": "redhat",
"rhel": "redhat",
"rocky": "redhat",
"ubuntu": "debian",
}
Expand Down
2 changes: 2 additions & 0 deletions pkg/rpm/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ var (
}

RPMDistros = map[string]string{
"alma": ".el",
"amazon": ".amzn",
"fedora": ".fc",
"rhel": ".el",
"rocky": ".el",
}
)
Expand Down

0 comments on commit 1afc778

Please sign in to comment.