build: Fix for renamed package for armv6.

(cherry picked from commit b48c18a1c5)
This commit is contained in:
Leonard Gram
2019-04-03 09:57:07 +02:00
committed by Torkel Ödegaard
parent 8ae5980c23
commit bd93aad63d
+1
View File
@@ -361,6 +361,7 @@ func createPackage(options linuxPackageOptions) {
fmt.Printf("pkgArch is set to '%s', generated arch is '%s'\n", pkgArch, options.packageArch)
if pkgArch == "armv6" {
name += "-rpi"
args = append(args, "--replaces", "grafana")
}
args = append(args, "--name", name)