Skip to content

Commit

Permalink
Update traktarr.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Nov 26, 2019
1 parent 394cbf6 commit 3bd4150
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions menu/traktarr/traktarr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ EOF
question1
else

if [ "$sonarr" = "sonarr" ]; then
if [ "$sonarr" = "sonarr" ] && [ "$radarr" = "" ]; then
tee <<-EOF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Expand All @@ -593,13 +593,25 @@ EOF
echo
fi

if [ "$radarr" = "radarr" ]; then
if [ "$radarr" = "radarr" ] && [ "$sonarr" = "" ]; then
tee <<-EOF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⛔️ WARNING! - Traktarr will only work for shows! Radarr Not Running!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
EOF
read -p '🌎 Acknowledge Info | Press [ENTER] ' typed </dev/tty
echo
fi

if [ "$radarr" = "radarr" ] && [ "$sonarr" = "sonarr" ]; then
tee <<-EOF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 Traktarr - Radarr and Sonarr detected | it will work for both
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
EOF
read -p '🌎 Acknowledge Info | Press [ENTER] ' typed </dev/tty
echo
Expand Down

0 comments on commit 3bd4150

Please sign in to comment.