[arch-commits] Commit in mpd/trunk (PKGBUILD conf)

Gaetan Bisson bisson at archlinux.org
Wed Sep 24 17:29:54 UTC 2014


    Date: Wednesday, September 24, 2014 @ 19:29:53
  Author: bisson
Revision: 222944

fix FS#42089

Modified:
  mpd/trunk/PKGBUILD
  mpd/trunk/conf

----------+
 PKGBUILD |    9 ++++++---
 conf     |    1 -
 2 files changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-09-24 16:49:13 UTC (rev 222943)
+++ PKGBUILD	2014-09-24 17:29:53 UTC (rev 222944)
@@ -7,7 +7,7 @@
 
 pkgname=mpd
 pkgver=0.18.14
-pkgrel=2
+pkgrel=3
 pkgdesc='Flexible, powerful, server-side application for playing music'
 url='http://www.musicpd.org/'
 license=('GPL')
@@ -20,7 +20,7 @@
         'conf')
 sha1sums=('5a4b5f5b0447994f3fc186ffd7c16cabeeed2978' 'SKIP'
           'f4d5922abb69abb739542d8e93f4dfd748acdad7'
-          '67c145c046cddd885630d72ce8ebe71f8321ff3b')
+          '291fd5cda9f0845834a553017327c4586bd853f6')
 
 backup=('etc/mpd.conf')
 install=install
@@ -48,5 +48,8 @@
 	install -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd/playlists
 
 	install -Dm644 "${pkgdir}"/usr/lib/systemd/{system,user}/mpd.service
-	sed '/WantedBy=/c WantedBy=default.target' -i "${pkgdir}"/usr/lib/systemd/user/mpd.service
+	sed \
+		-e '/\[Service\]/a User=mpd' \
+		-e '/WantedBy=/c WantedBy=default.target' \
+		-i "${pkgdir}"/usr/lib/systemd/user/mpd.service
 }

Modified: conf
===================================================================
--- conf	2014-09-24 16:49:13 UTC (rev 222943)
+++ conf	2014-09-24 17:29:53 UTC (rev 222944)
@@ -1,6 +1,5 @@
 # See: /usr/share/doc/mpd/mpdconf.example
 
-user "mpd"
 pid_file "/run/mpd/mpd.pid"
 db_file "/var/lib/mpd/mpd.db"
 state_file "/var/lib/mpd/mpdstate"




More information about the arch-commits mailing list