mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 11:38:07 -07:00
net-misc/ntp: [QA] Fix UnnecessarySlashStrip
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -124,7 +124,7 @@ src_install() {
|
||||
systemd_newunit "${FILESDIR}"/ntpd.service-r2 ntpd.service
|
||||
if use caps ; then
|
||||
sed -i '/ExecStart/ s|$| -u ntp:ntp|' \
|
||||
"${D%/}$(systemd_get_systemunitdir)"/ntpd.service \
|
||||
"${D}$(systemd_get_systemunitdir)"/ntpd.service \
|
||||
|| die
|
||||
fi
|
||||
systemd_enable_ntpunit 60-ntpd ntpd.service
|
||||
|
||||
Reference in New Issue
Block a user