From f972e4ff97fa1028c7ba0654479bdf578463e03e Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Fri, 14 Dec 2012 17:05:39 -0800 Subject: [PATCH] added spaces damn that was stupid of me! --- nzbget-postprocessing-files/9.0/bin/nzbget-postprocess.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nzbget-postprocessing-files/9.0/bin/nzbget-postprocess.sh b/nzbget-postprocessing-files/9.0/bin/nzbget-postprocess.sh index a78f19f7..321a80f7 100644 --- a/nzbget-postprocessing-files/9.0/bin/nzbget-postprocess.sh +++ b/nzbget-postprocessing-files/9.0/bin/nzbget-postprocess.sh @@ -102,7 +102,7 @@ nzbToMedia() { PostProcessStatus=0 if [ -n "$1" ]; then PostProcessStatus=$1 ; fi if [ "$DEBUG" ]; then echo "[DETAIL] Post-Process: comparing '$NZBPP_CATEGORY' to '$CouchPotatoCategory' and '$SickBeardCategory'" ; fi - if ["$NZBPP_CATEGORY" = "$CouchPotatoCategory"]; then + if [ "$NZBPP_CATEGORY" = "$CouchPotatoCategory" ]; then if [ "$CouchPotato" = "yes" -a -e "$NzbToCouchPotato" ]; then # Call Couchpotato's postprocessing script echo "[INFO] Post-Process: Running CouchPotato's postprocessing script" @@ -118,7 +118,7 @@ nzbToMedia() { if [ ! -e "$NzbToCouchPotato" ]; then echo "[DETAIL] Post-Process: Ignored to run CouchPotato's postprocessing script as the specified script ('$NzbToCouchPotato') does not exist"; fi fi fi - if ["$NZBPP_CATEGORY" = "$SickBeardCategory"]; then + if [ "$NZBPP_CATEGORY" = "$SickBeardCategory" ]; then if [ "$SickBeard" = "yes" -a -e "$NzbToSickBeard" ]; then # Call SickBeard's postprocessing script echo "[INFO] Post-Process: Running SickBeard's postprocessing script"