aboutsummaryrefslogtreecommitdiffstats
path: root/main/mpd/APKBUILD
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2011-08-13 15:03:42 +0000
committerMika Havela <mika.havela@gmail.com>2011-08-15 15:54:26 +0000
commita0b13a25980e2b32b7200654a378c6674c881cc4 (patch)
tree91fe08ec8d473ede9ed5437b44bf8fbdb88f49f5 /main/mpd/APKBUILD
parentb3a1f37a733763b824205890f8b98270d729bd3b (diff)
downloadaports-a0b13a25980e2b32b7200654a378c6674c881cc4.tar.bz2
aports-a0b13a25980e2b32b7200654a378c6674c881cc4.tar.xz
main/mpd: Bugfix in default config
Diffstat (limited to 'main/mpd/APKBUILD')
-rw-r--r--main/mpd/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/mpd/APKBUILD b/main/mpd/APKBUILD
index af8ebb1092..14b15d7a58 100644
--- a/main/mpd/APKBUILD
+++ b/main/mpd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <natanael.copa@gmail.com>
pkgname=mpd
pkgver=0.16.3
-pkgrel=0
+pkgrel=1
pkgdesc="Music daemon that plays MP3, FLAC, and Ogg Vorbis files"
url="http://musicpd.org"
pkgusers="mpd"
@@ -37,9 +37,9 @@ package() {
#provide a config that works by default
install -d "$pkgdir"/etc
- sed -e 's:\#pid_file.*:pid_file\t\t/var/run/mpd/mpd.pid:' \
- -e 's:\#user.*:user\t\tmpd:' \
- -e 's:\#log_file.*:log_file\t\t/var/log/mpd/mpd.log:' \
+ sed -e 's:\#pid_file.*:pid_file\t\t"/var/run/mpd/mpd.pid":' \
+ -e 's:\#user.*:user\t\t"mpd":' \
+ -e 's:\#log_file.*:log_file\t\t"/var/log/mpd/mpd.log":' \
doc/mpdconf.example > "$pkgdir"/etc/mpd.conf
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname