forked from Plemya-x/ALR
fix: add alt only for rpm on altlinux
This commit is contained in:
parent
eb1c1a1d8c
commit
1890311d11
@ -502,7 +502,7 @@ func buildPkgMetadata(vars *types.BuildVars, dirs types.Directories, pkgFormat s
|
||||
})
|
||||
}
|
||||
|
||||
if info.ID == "altlinux" {
|
||||
if pkgFormat == "rpm" && info.ID == "altlinux" {
|
||||
pkgInfo.Release = "alt" + pkgInfo.Release
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user