summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenton Groombridge <concord@gentoo.org>2024-06-09 12:32:51 -0400
committerKenton Groombridge <concord@gentoo.org>2024-06-09 12:35:27 -0400
commit4f9b82151f9db60951268508ee4986d21bcebe18 (patch)
tree6c6965318087ad8cebef79460c083971a2d84668 /net-voip
parentsys-process/audit: Stabilize 3.1.2 arm, #933874 (diff)
downloadgentoo-4f9b82151f9db60951268508ee4986d21bcebe18.tar.gz
gentoo-4f9b82151f9db60951268508ee4986d21bcebe18.tar.bz2
gentoo-4f9b82151f9db60951268508ee4986d21bcebe18.zip
net-voip/murmur: fix split-usr handling of systemd unit rename
Closes: https://bugs.gentoo.org/933856 Signed-off-by: Kenton Groombridge <concord@gentoo.org>
Diffstat (limited to 'net-voip')
-rw-r--r--net-voip/murmur/murmur-1.5.634.ebuild5
-rw-r--r--net-voip/murmur/murmur-9999.ebuild5
2 files changed, 6 insertions, 4 deletions
diff --git a/net-voip/murmur/murmur-1.5.634.ebuild b/net-voip/murmur/murmur-1.5.634.ebuild
index 93abe94c1455..be38ba9a0de5 100644
--- a/net-voip/murmur/murmur-1.5.634.ebuild
+++ b/net-voip/murmur/murmur-1.5.634.ebuild
@@ -144,8 +144,9 @@ src_install() {
fperms 750 /var/lib/murmur /var/log/murmur
mv "${ED}"/etc/murmur/mumble-server.ini "${ED}"/etc/murmur/murmur.ini || die
- mv "${ED}"/usr/lib/systemd/system/mumble-server.service "${ED}"/usr/lib/systemd/system/murmur.service || die
- sed -ie 's|mumble-server\.ini|murmur.ini|' "${ED}"/usr/lib/systemd/system/murmur.service || die
+ mv "${D}/$(systemd_get_systemunitdir)/mumble-server.service" \
+ "${D}/$(systemd_get_systemunitdir)/murmur.service" || die
+ sed -i 's|mumble-server\.ini|murmur.ini|' "${D}/$(systemd_get_systemunitdir)/murmur.service" || die
readme.gentoo_create_doc
}
diff --git a/net-voip/murmur/murmur-9999.ebuild b/net-voip/murmur/murmur-9999.ebuild
index 93abe94c1455..be38ba9a0de5 100644
--- a/net-voip/murmur/murmur-9999.ebuild
+++ b/net-voip/murmur/murmur-9999.ebuild
@@ -144,8 +144,9 @@ src_install() {
fperms 750 /var/lib/murmur /var/log/murmur
mv "${ED}"/etc/murmur/mumble-server.ini "${ED}"/etc/murmur/murmur.ini || die
- mv "${ED}"/usr/lib/systemd/system/mumble-server.service "${ED}"/usr/lib/systemd/system/murmur.service || die
- sed -ie 's|mumble-server\.ini|murmur.ini|' "${ED}"/usr/lib/systemd/system/murmur.service || die
+ mv "${D}/$(systemd_get_systemunitdir)/mumble-server.service" \
+ "${D}/$(systemd_get_systemunitdir)/murmur.service" || die
+ sed -i 's|mumble-server\.ini|murmur.ini|' "${D}/$(systemd_get_systemunitdir)/murmur.service" || die
readme.gentoo_create_doc
}