added spaces

damn that was stupid of me
This commit is contained in:
clinton-hall 2012-12-14 17:06:31 -08:00
commit 526048832e

View file

@ -102,7 +102,7 @@ nzbToMedia() {
PostProcessStatus=0 PostProcessStatus=0
if [ -n "$1" ]; then PostProcessStatus=$1 ; fi if [ -n "$1" ]; then PostProcessStatus=$1 ; fi
if [ "$DEBUG" ]; then echo "[DETAIL] Post-Process: comparing '$NZBPP_CATEGORY' to '$CouchPotatoCategory' and '$SickBeardCategory'" ; 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 if [ "$CouchPotato" = "yes" -a -e "$NzbToCouchPotato" ]; then
# Call Couchpotato's postprocessing script # Call Couchpotato's postprocessing script
echo "[INFO] Post-Process: Running 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 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
fi fi
if ["$NZBPP_CATEGORY" = "$SickBeardCategory"]; then if [ "$NZBPP_CATEGORY" = "$SickBeardCategory" ]; then
if [ "$SickBeard" = "yes" -a -e "$NzbToSickBeard" ]; then if [ "$SickBeard" = "yes" -a -e "$NzbToSickBeard" ]; then
# Call SickBeard's postprocessing script # Call SickBeard's postprocessing script
echo "[INFO] Post-Process: Running SickBeard's postprocessing script" echo "[INFO] Post-Process: Running SickBeard's postprocessing script"