From 0b7c8477428d87966a9f98776e4d91eac1e13644 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 30 Jun 2016 07:50:19 +0200 Subject: [PATCH] mpd: set proper perms to /var/lib/mpd to make this work. Reported and tested by maldridge. --- srcpkgs/mpd/files/mpd/run | 2 ++ srcpkgs/mpd/template | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/mpd/files/mpd/run b/srcpkgs/mpd/files/mpd/run index bde3c869b6..9dade12f41 100755 --- a/srcpkgs/mpd/files/mpd/run +++ b/srcpkgs/mpd/files/mpd/run @@ -1,3 +1,5 @@ #!/bin/sh install -d -m 0755 -o mpd -g mpd /run/mpd +install -d -m 0755 /var/lib/mpd/playlists +chown -R mpd:mpd /var/lib/mpd exec mpd --no-daemon diff --git a/srcpkgs/mpd/template b/srcpkgs/mpd/template index 5b58c9e31a..7157dba6a8 100644 --- a/srcpkgs/mpd/template +++ b/srcpkgs/mpd/template @@ -1,7 +1,7 @@ # Template file for 'mpd' pkgname=mpd version=0.19.16 -revision=1 +revision=2 build_style=gnu-configure configure_args="--enable-opus --enable-mikmod --enable-neighbor-plugins --enable-soundcloud --enable-pipe-output --disable-twolame-encoder @@ -22,7 +22,6 @@ makedepends=" conf_files="/etc/mpd.conf" system_accounts="mpd" mpd_homedir="/var/lib/mpd" -make_dirs="/var/lib/mpd/playlists 0755 mpd mpd" short_desc="Flexible, powerful, server-side application for playing music" maintainer="Juan RP " license="GPL-2"