0
0
Fork 0
mirror of https://gitea.plemya-x.ru/Plemya-x/ALR.git synced 2025-01-10 17:26:45 +00:00

fix: add alt only for rpm on altlinux

This commit is contained in:
Максим Слипенко 2024-11-15 16:35:31 +03:00
parent eb1c1a1d8c
commit 1890311d11

View file

@ -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 pkgInfo.Release = "alt" + pkgInfo.Release
} }