From 6961d24a98edc4e1fca0a6d982f45a96bd05ada1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Matczuk?= Date: Thu, 17 Feb 2022 11:08:22 +0100 Subject: [PATCH] dist: goreleaser, remove empty_folders directive 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 --- dist/.goreleaser.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dist/.goreleaser.yaml b/dist/.goreleaser.yaml index 7a3043e010..33eb28793c 100644 --- a/dist/.goreleaser.yaml +++ b/dist/.goreleaser.yaml @@ -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 @@ -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