Skip to content

Commit

Permalink
dist: goreleaser, remove empty_folders directive
Browse files Browse the repository at this point in the history
This is not needed and in Centos it overwrites already existing directory with wrong user and permissions.

The below snippet from rpm installation debug logs happens after the preinstall scriplet.

```
D: create     040755  1 (   0,   0)     0 /var/lib/scylla-manager
```

It does not affect Ubuntu.

Fixes #3032
  • Loading branch information
mmatczuk committed Feb 17, 2022
1 parent 6c0aada commit 6961d24
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dist/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ nfpms:
- rpm
bindir: /usr/bin

empty_folders:
- /var/lib/scylla-manager
contents:
- src: etc/scylla-manager.yaml
dst: /etc/scylla-manager/scylla-manager.yaml
Expand Down Expand Up @@ -186,8 +184,6 @@ nfpms:
- rpm
bindir: /usr/bin

empty_folders:
- /var/lib/scylla-manager
contents:
- src: etc/scylla-manager-agent.yaml
dst: /etc/scylla-manager-agent/scylla-manager-agent.yaml
Expand Down

0 comments on commit 6961d24

Please sign in to comment.