From bc7c4426464a1a62e8aadea4e52446034803a6e5 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sun, 27 Sep 2015 19:01:56 +0200 Subject: [PATCH] net-misc/minidlna: Fix typo in OpenRC runscripts --- net-misc/minidlna/files/minidlna-1.0.23-r1.initd | 2 +- net-misc/minidlna/files/minidlna-1.1.0.initd | 2 +- net-misc/minidlna/files/minidlna-1.1.2.initd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.26.2