mirror of
https://gitea.plemya-x.ru/Plemya-x/ALR.git
synced 2025-01-10 09:16:45 +00:00
fix: add alt only for rpm on altlinux
This commit is contained in:
parent
eb1c1a1d8c
commit
1890311d11
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue