Skip to content

Commit

Permalink
Merge pull request #505 from V33m/patch-4
Browse files Browse the repository at this point in the history
Update rutupgrade - Fetch latest release
  • Loading branch information
arakasi72 authored Jul 4, 2020
2 parents e6523c1 + 227eb99 commit d2869bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/rutupgrade
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ newvers=$(curl -s https://raw.githubusercontent.com/Novik/ruTorrent/master/js/we
oldvers=$(grep -m 1 version: /var/www/rutorrent/js/webui.js | cut -d \" -f2)

ruflag=0
rurelease=$(git ls-remote -t https://github.com/Novik/ruTorrent v\* | cut -d/ -f3 | sort -V | tail -1)
rurelease=$(curl -s "https://api.github.com/repos/Novik/ruTorrent/releases/latest" | awk -F '"' '/tag_name/{print $4}')
force_yes=1
restore_old=1
install_master=1
Expand Down

0 comments on commit d2869bf

Please sign in to comment.