added extra debug line

This commit is contained in:
clinton-hall 2012-12-14 16:06:10 -08:00
commit 6633581aa3

View file

@ -103,6 +103,7 @@ nzbToMedia() {
if [ "$DEBUG" ]; then echo "[DETAIL] Post-Process: Executing external postprocessing with argument $1" ; fi if [ "$DEBUG" ]; then echo "[DETAIL] Post-Process: Executing external postprocessing with argument $1" ; fi
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 ["$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