From 3a186dfbc6ea3ca5afd61d5cff8095c3800fe96e Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Sat, 23 Apr 2016 11:12:05 +0200 Subject: [PATCH] Fix method to retreive current stable version --- check_rc_upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_rc_upgrade.sh b/check_rc_upgrade.sh index 4c9ce4b..abe5c98 100755 --- a/check_rc_upgrade.sh +++ b/check_rc_upgrade.sh @@ -118,7 +118,7 @@ for i in `seq 1 $MAX_CHECK` do tmpfile=`mktemp` wget $WGET_SSL_OPT -q $CHECK_URL -O $tmpfile - newest=`cat $tmpfile|grep 'downloads.sourceforge.net'|grep 'complete.tar.gz'|head -n 1|sed 's|^.*downloads.sourceforge.net/project/roundcubemail/roundcubemail/\([^/]*\)/roundcubemail-.*$|\1|'` + newest=`cat $tmpfile|grep 'github.com'|grep 'complete.tar.gz'|head -n 1|sed 's|^.*github.com/roundcube/roundcubemail/releases/download/\([^/]*\)/roundcubemail-.*$|\1|'` if [ -n "$newest" ] then [ $DEBUG -eq 1 ] && echo "Newest : $newest"