net-misc/minidlna: Fix typo in OpenRC runscripts github/pr/136
authorJakub Jirutka <jakub@jirutka.cz>
Sun, 27 Sep 2015 17:01:56 +0000 (19:01 +0200)
committerJakub Jirutka <jakub@jirutka.cz>
Sun, 27 Sep 2015 17:01:56 +0000 (19:01 +0200)
net-misc/minidlna/files/minidlna-1.0.23-r1.initd
net-misc/minidlna/files/minidlna-1.1.0.initd
net-misc/minidlna/files/minidlna-1.1.2.initd

index 1ba3e1b4a764f59c27348f0f506448c0731e7efb..b014edb771065016cd8364d690839ea0188d8d15 100644 (file)
@@ -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
 
index 9ccffe73265a7cd8c10e4f835846d8e9c00be977..856606e8096f955a6937657b06d6ab1bafde0ce6 100644 (file)
@@ -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
 
index c7f30260ff8caf4675ccaa1d3fbec5a681319171..7b5366e3056cf7b273df0d147e22b4a26ddfa16a 100644 (file)
@@ -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