commit:     2cdd140a843387d6fd3b744d780613660357f52d
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 29 22:56:06 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun May 29 22:58:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2cdd140a

sys-cluster/heat: use root perms for logrotate

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/heat/{heat-18.0.0.ebuild => heat-18.0.0-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/heat/heat-18.0.0.ebuild 
b/sys-cluster/heat/heat-18.0.0-r1.ebuild
similarity index 100%
rename from sys-cluster/heat/heat-18.0.0.ebuild
rename to sys-cluster/heat/heat-18.0.0-r1.ebuild
index 45120c6ff..79911f0e0 100644
--- a/sys-cluster/heat/heat-18.0.0.ebuild
+++ b/sys-cluster/heat/heat-18.0.0-r1.ebuild
@@ -134,6 +134,9 @@ python_install_all() {
                newinitd "${FILESDIR}/heat.initd" "heat-${svc}"
        done
 
+       insinto /etc/logrotate.d
+       doins "${FILESDIR}/heat.logrotate"
+
        insinto /etc/heat
        insopts -m 0640 -o heat -g heat
        doins etc/heat/heat.conf.sample
@@ -151,8 +154,5 @@ python_install_all() {
        systemd_dounit "${FILESDIR}/heat-engine.service"
        systemd_dounit "${FILESDIR}/heat-api.service"
 
-       insinto /etc/logrotate.d
-       doins "${FILESDIR}/heat.logrotate"
-
        rm -r "${ED}/usr/etc"
 }

Reply via email to