fix: add alt only for rpm on altlinux
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user