Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed download of version ending with a 0

  • Loading branch information...
commit e99aada86539ac56aa0d3b0a33d70920ebcf550c 1 parent 848015c
@czj authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  sabznbd_upgrade.sh
View
1  sabznbd_upgrade.sh
@@ -5,7 +5,6 @@ cd ~/bin
API_KEY=`cat SABnzbd/sabnzbd.ini | grep ^api_key | awk '{print $3}'`
PORT=` cat SABnzbd/sabnzbd.ini | grep ^https_port | awk '{print $3}'`
VERSION=`curl -s http://sabnzbdplus.sourceforge.net/version/latest | head -n1`
-VERSION=${VERSION%?}
DIR="SABnzbd-${VERSION}"
GZ="${DIR}-src.tar.gz"
DATE=`date +'%Y%m%d-%H%M'`
Please sign in to comment.
Something went wrong with that request. Please try again.