Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335298 - media-sound/mt-daapd: fix bashism in init.d script
Summary: media-sound/mt-daapd: fix bashism in init.d script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 609070
  Show dependency tree
 
Reported: 2010-08-30 17:30 UTC by Kai Krakow
Modified: 2017-02-12 14:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mt-daapd.init.2.patch (mt-daapd.init.2.patch,818 bytes, patch)
2017-02-12 12:41 UTC, Andrew Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Krakow 2010-08-30 17:30:40 UTC
Replace "if [[...]]" by "if [...]" to make the script work with non-bash shells (eg dash used as default-sh in baselayout-2) and make it conform to POSIX. This affects line 15 and 20.

Reproducible: Always
Comment 1 Andrew Savchenko gentoo-dev 2017-02-12 12:41:17 UTC
Created attachment 463432 [details, diff]
mt-daapd.init.2.patch

Fix is trivial, will commit in two weeks if there are no objections.
Comment 2 Alexis Ballier gentoo-dev 2017-02-12 12:48:25 UTC
(In reply to Andrew Savchenko from comment #1)
> Created attachment 463432 [details, diff] [details, diff]
> mt-daapd.init.2.patch
> 
> Fix is trivial, will commit in two weeks if there are no objections.

go ahead, thx :)