app-backup/amanda: fix systemd perms.
authorRobin H. Johnson <robbat2@gentoo.org>
Mon, 13 Nov 2017 20:35:06 +0000 (12:35 -0800)
committerRobin H. Johnson <robbat2@gentoo.org>
Mon, 13 Nov 2017 20:44:57 +0000 (12:44 -0800)
Fixes: https://bugs.gentoo.org/530150
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
app-backup/amanda/amanda-3.5-r1.ebuild [moved from app-backup/amanda/amanda-3.5.ebuild with 100% similarity]

similarity index 100%
rename from app-backup/amanda/amanda-3.5.ebuild
rename to app-backup/amanda/amanda-3.5-r1.ebuild
index f59aebd6c04834b51bfbd4fb2eaa6914720f6333..7b97c5c5d9ffea3292c9b7937380b1d19aa9e229 100644 (file)
@@ -326,6 +326,10 @@ src_install() {
        einfo "Installing environment config file"
        doenvd "${MYFILESDIR}/${ENVDFILE}"
 
+       einfo "Installing systemd service and socket files for Amanda"
+       systemd_dounit "${FILESDIR}"/amanda.socket
+       systemd_newunit "${FILESDIR}"/amanda.service 'amanda@.service'
+
        # Lock down next section (up until docs).
        insopts -m0640
        # Installing Amanda Xinetd Services Definition
@@ -343,10 +347,6 @@ src_install() {
                newins "${MYFILESDIR}/amanda-cron" amanda
        fi
 
-       einfo "Installing systemd service and socket files for Amanda"
-       systemd_dounit "${FILESDIR}"/amanda.socket
-       systemd_newunit "${FILESDIR}"/amanda.service 'amanda@.service'
-
        insinto /etc/amanda
        einfo "Installing .amandahosts File for ${AMANDA_USER_NAME} user"
        doins "${T}/amandahosts"