Skip to content

Commit

Permalink
media-sound/mpd: remove opts variable from init script
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sbraz committed May 27, 2018
1 parent 6c5c5ff commit ad16a73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions media-sound/mpd/files/mpd-0.20.4.init
Original file line number Diff line number Diff line change
@@ -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}
Expand All @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit ad16a73

Please sign in to comment.