mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
Grafana Enterprise Packaging: Set to conflict with grafana
, not replace (#58189)
* Grafana Enterprise Packaging: Set to conflict with `grafana`, not replace When `grafana` and `grafana-enterprise` are in the same RPM repository, grafana-enterprise takes precedence over Grafana This is not what we want. Users should be able to install either OSS or Enterprise * Set it only one way. It's how it's currently tested
This commit is contained in:
parent
5fa0936b7e
commit
786c7faff2
@ -384,7 +384,7 @@ func executeFPM(options linuxPackageOptions, packageRoot, srcDir string) error {
|
||||
"-a", string(options.packageArch),
|
||||
}
|
||||
if options.edition == config.EditionEnterprise || options.edition == config.EditionEnterprise2 || options.goArch == config.ArchARMv6 {
|
||||
args = append(args, "--replaces", "grafana")
|
||||
args = append(args, "--conflicts", "grafana")
|
||||
}
|
||||
if options.edition == config.EditionOSS {
|
||||
args = append(args, "--license", "\"AGPLv3\"")
|
||||
|
Loading…
Reference in New Issue
Block a user