Permalink
Browse files

Fixed download of version ending with a 0

  • Loading branch information...
1 parent 848015c commit e99aada86539ac56aa0d3b0a33d70920ebcf550c @czj committed Nov 21, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 sabznbd_upgrade.sh
View
@@ -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'`

0 comments on commit e99aada

Please sign in to comment.