Benjamin Renard commited on 2016-04-23 09:12:08
Showing 1 changed files, with 1 additions and 1 deletions.
| ... | ... |
@@ -118,7 +118,7 @@ for i in `seq 1 $MAX_CHECK` |
| 118 | 118 |
do |
| 119 | 119 |
tmpfile=`mktemp` |
| 120 | 120 |
wget $WGET_SSL_OPT -q $CHECK_URL -O $tmpfile |
| 121 |
- newest=`cat $tmpfile|grep 'downloads.sourceforge.net'|grep 'complete.tar.gz'|head -n 1|sed 's|^.*downloads.sourceforge.net/project/roundcubemail/roundcubemail/\([^/]*\)/roundcubemail-.*$|\1|'` |
|
| 121 |
+ newest=`cat $tmpfile|grep 'github.com'|grep 'complete.tar.gz'|head -n 1|sed 's|^.*github.com/roundcube/roundcubemail/releases/download/\([^/]*\)/roundcubemail-.*$|\1|'` |
|
| 122 | 122 |
if [ -n "$newest" ] |
| 123 | 123 |
then |
| 124 | 124 |
[ $DEBUG -eq 1 ] && echo "Newest : $newest" |
| 125 | 125 |