summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2021-03-16 18:38:21 -0400
committerMike Pagano <mpagano@gentoo.org>2021-03-16 18:38:21 -0400
commit48bbc0e66de51003071d60e57fc153ffea342d43 (patch)
tree13ed2b8457365f4ee55cb771e40642e6592b61e4 /app-forensics/lynis
parentsys-apps/file: Stabilize 5.39-r4 amd64, #771096 (diff)
downloadgentoo-48bbc0e66de51003071d60e57fc153ffea342d43.tar.gz
gentoo-48bbc0e66de51003071d60e57fc153ffea342d43.tar.bz2
gentoo-48bbc0e66de51003071d60e57fc153ffea342d43.zip
app-forensics/lynis: Fix for lynis.service. See bug #776580
Closes: https://bugs.gentoo.org/776580 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'app-forensics/lynis')
-rw-r--r--app-forensics/lynis/lynis-3.0.3-r2.ebuild (renamed from app-forensics/lynis/lynis-3.0.3-r1.ebuild)3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-forensics/lynis/lynis-3.0.3-r1.ebuild b/app-forensics/lynis/lynis-3.0.3-r2.ebuild
index 98be2c958313..9636cb8ccee2 100644
--- a/app-forensics/lynis/lynis-3.0.3-r1.ebuild
+++ b/app-forensics/lynis/lynis-3.0.3-r2.ebuild
@@ -41,7 +41,8 @@ src_install() {
insinto /etc/${PN}
doins default.prf
- systemd_dounit "${S}/extras/systemd/${PN}.service"
+ sed -i -e 's/\/path\/to\///' "${S}/extras/systemd/${PN}.service" die "Sed Failed!"
+ systemd_dounit "${S}/extras/systemd/${PN}.service" || die "Sed Failed!"
systemd_dounit "${S}/extras/systemd/${PN}.timer"
}