1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

fix(nfpm): lintian unix path (#4175)

closes #4174
needs https://github.com/goreleaser/nfpm/pull/690

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2023-07-13 23:03:40 -03:00 committed by GitHub
parent 0a086915d2
commit 52792f4a15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -441,7 +441,7 @@ func setupLintian(ctx *context.Context, fpm config.NFPM, packageName, format, ar
log.Debugf("creating %q", lintianPath)
return &files.Content{
Source: lintianPath,
Destination: filepath.Join("./usr/share/lintian/overrides", packageName),
Destination: "./usr/share/lintian/overrides/" + packageName,
Packager: "deb",
FileInfo: &files.ContentFileInfo{
Mode: 0o644,