Browse Source

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>
Max Kellermann 5 years ago
parent
commit
995504de0a
1 changed files with 0 additions and 6 deletions
  1. 0 6
      meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.22.bb

+ 0 - 6
meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.22.bb

@@ -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
 }