From: Jakub Jirutka Date: Sun, 27 Sep 2015 17:01:56 +0000 (+0200) Subject: net-misc/minidlna: Fix typo in OpenRC runscripts X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=refs%2Fremotes%2Fgithub%2Fpr%2F136;p=gentoo.git net-misc/minidlna: Fix typo in OpenRC runscripts --- diff --git a/net-misc/minidlna/files/minidlna-1.0.23-r1.initd b/net-misc/minidlna/files/minidlna-1.0.23-r1.initd index 1ba3e1b4a764..b014edb77106 100644 --- a/net-misc/minidlna/files/minidlna-1.0.23-r1.initd +++ b/net-misc/minidlna/files/minidlna-1.0.23-r1.initd @@ -16,7 +16,7 @@ start() { params="$params -P /var/run/minidlna/minidlna.pid" - if [[ "${RESCAN}" = "true" || "{$RESCAN}" = yes ]]; then + if [[ "${RESCAN}" = "true" || "${RESCAN}" = yes ]]; then params="$params -R" fi diff --git a/net-misc/minidlna/files/minidlna-1.1.0.initd b/net-misc/minidlna/files/minidlna-1.1.0.initd index 9ccffe73265a..856606e8096f 100644 --- a/net-misc/minidlna/files/minidlna-1.1.0.initd +++ b/net-misc/minidlna/files/minidlna-1.1.0.initd @@ -16,7 +16,7 @@ start() { params="$params -P /var/run/minidlna/minidlna.pid" - if [[ "${RESCAN}" = "true" || "{$RESCAN}" = yes ]]; then + if [[ "${RESCAN}" = "true" || "${RESCAN}" = yes ]]; then params="$params -R" fi diff --git a/net-misc/minidlna/files/minidlna-1.1.2.initd b/net-misc/minidlna/files/minidlna-1.1.2.initd index c7f30260ff8c..7b5366e3056c 100644 --- a/net-misc/minidlna/files/minidlna-1.1.2.initd +++ b/net-misc/minidlna/files/minidlna-1.1.2.initd @@ -16,7 +16,7 @@ start() { params="$params -P /run/minidlna/minidlna.pid" - if [[ "${RESCAN}" = "true" || "{$RESCAN}" = yes ]]; then + if [[ "${RESCAN}" = "true" || "${RESCAN}" = yes ]]; then params="$params -R" fi