summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sautier.louis@gmail.com>2018-05-27 15:44:50 +0200
committerDavid Seifert <soap@gentoo.org>2018-06-02 15:25:01 +0200
commitd758a9ffb4fe70453085783d63e67a8f5814c1f0 (patch)
treea8017ec9c5abbf8436e4c12d4951969fd38446c9 /media-sound/mpd
parentsci-biology/bamtools: Use ninja for building (diff)
downloadgentoo-d758a9ffb4fe70453085783d63e67a8f5814c1f0.tar.gz
gentoo-d758a9ffb4fe70453085783d63e67a8f5814c1f0.tar.bz2
gentoo-d758a9ffb4fe70453085783d63e67a8f5814c1f0.zip
media-sound/mpd: remove opts variable from init script
This variable should never have been used in the first place because it is reserved to OpenRC. It is unlikely that this variable was ever used because mpd exposes no interesting command-line options and Gentoo never provided an associated conf.d file either. Closes: https://bugs.gentoo.org/645664 Package-Manager: Portage-2.3.38, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/8621
Diffstat (limited to 'media-sound/mpd')
-rw-r--r--media-sound/mpd/files/mpd-0.20.4.init4
-rw-r--r--media-sound/mpd/mpd-0.20.12-r1.ebuild (renamed from media-sound/mpd/mpd-0.20.12.ebuild)2
2 files changed, 3 insertions, 3 deletions
diff --git a/media-sound/mpd/files/mpd-0.20.4.init b/media-sound/mpd/files/mpd-0.20.4.init
index 3eb0bc2bcb82..0a4c61677bcb 100644
--- a/media-sound/mpd/files/mpd-0.20.4.init
+++ b/media-sound/mpd/files/mpd-0.20.4.init
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
: CFGFILE=${CFGFILE:=/etc/mpd.conf}
@@ -20,7 +20,7 @@ get_config() {
extra_started_commands='reload'
command=/usr/bin/mpd
-command_args=${opts:=${CFGFILE}}
+command_args=${CFGFILE}
required_files=${CFGFILE}
pidfile=$(get_config pid_file)
description="Music Player Daemon"
diff --git a/media-sound/mpd/mpd-0.20.12.ebuild b/media-sound/mpd/mpd-0.20.12-r1.ebuild
index 856bef046087..413a9c53b120 100644
--- a/media-sound/mpd/mpd-0.20.12.ebuild
+++ b/media-sound/mpd/mpd-0.20.12-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6