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 Dec 16, 2019
1 parent 73647e7 commit e14146b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions menu/traktarr/traktarr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -395,15 +395,16 @@ EOF

}
maxyear() {

((minyear=$(date +"%Y")-20))
((maxyear=$(date +"%Y")+5))

tee <<-EOF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 Limit of max allowed Year
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Set a Number from [ $(date +"%Y") ] - [ 2100 ]
Set a Number from [ $minyear ] - [ $maxyear ]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
EOF
Expand Down

0 comments on commit e14146b

Please sign in to comment.