Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 463432 Details for
Bug 335298
media-sound/mt-daapd: fix bashism in init.d script
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mt-daapd.init.2.patch
mt-daapd.init.2.patch (text/plain), 818 bytes, created by
Andrew Savchenko
on 2017-02-12 12:41:17 UTC
(
hide
)
Description:
mt-daapd.init.2.patch
Filename:
MIME Type:
Creator:
Andrew Savchenko
Created:
2017-02-12 12:41:17 UTC
Size:
818 bytes
patch
obsolete
>diff --git a/media-sound/mt-daapd/files/mt-daapd.init.2 b/media-sound/mt-daapd/files/mt-daapd.init.2 >index 7c0a69651f..4211bdff92 100644 >--- a/media-sound/mt-daapd/files/mt-daapd.init.2 >+++ b/media-sound/mt-daapd/files/mt-daapd.init.2 >@@ -1,5 +1,5 @@ > #!/sbin/openrc-run >-# Copyright 1999-2004 Gentoo Foundation >+# Copyright 1999-2017 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Id$ > # Somehow based on init.d file shipped with mt-daapd itself. >@@ -17,7 +17,7 @@ if [ -f /lib/librc.so -o -f /etc/init.d/sysfs -o -f /lib/rc/version ]; then > fi > > CONF="${myservice##*.}" >-if [[ -n ${CONF} && ${myservice} != "mt-daapd" ]]; then >+if [ -n ${CONF} -a ${myservice} != "mt-daapd" ]; then > PIDFILE="/var/run/mt-daapd.${CONF}.pid" > CONFFILE="/etc/mt-daapd.d/${CONF}.conf" > else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 335298
: 463432