mpd: eliminate systemd ExecStart edit

This was never necessary because MPD's build script already inserts
the correct path.

Signed-off-by: Max Kellermann <max.kellermann@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Max Kellermann 2018-10-26 18:34:51 +02:00 committed by Khem Raj
parent 5da393e72d
commit 995504de0a

View File

@ -82,12 +82,6 @@ do_install_append() {
-e 's|%state_file%|${localstatedir}/lib/mpd/state|' \
${D}/${sysconfdir}/mpd.conf
if [ -e ${D}/${systemd_unitdir}/system/mpd.service ] ; then
sed -i \
's|^ExecStart=.*|ExecStart=${bindir}/mpd --no-daemon|' \
${D}/${systemd_unitdir}/system/mpd.service
fi
# we don't need the icon
rm -rf ${D}${datadir}/icons
}