diff --git a/torrent/torrent_qbittorrent_complete.sh b/torrent/torrent_qbittorrent_complete.sh index 32c26eb..9c6dbab 100755 --- a/torrent/torrent_qbittorrent_complete.sh +++ b/torrent/torrent_qbittorrent_complete.sh @@ -73,7 +73,7 @@ TORRENT_NAME="$1" ROOT_PATH="$2" CATEGORY="$3" -if [[ "$CATEGORY" != *arr* ]]; then +if [[ "$CATEGORY" != "*arr*" ]] || [[ "$CATEGORY" != "mytorrents"]]; then ############################################################################### # Start ############################################################################### @@ -155,7 +155,7 @@ if [[ "$CATEGORY" != *arr* ]]; then lucas@mediahost "mkdir -p \"/torrent/qbittorrent/mediahost/$remote_dir\"" SSH_STATUS=$? scp -i /config/.ssh/id_ed25519 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \ - -r "$ROOT_PATH"/. lucas@mediahost:/torrent/qbittorrent/mediahost/ + -r "$ROOT_PATH"/. lucas@mediahost:/torrent/qbittorrent/mediahost/$remote_dir/ SCP_STATUS=$? echo "scp exit status: $SCP_STATUS"