wok rev 2876

Fix: get-OpenOffice3 url error for english
author Rohit Joshi <jozee@slitaz.org>
date Sun May 03 19:37:14 2009 +0000 (2009-05-03)
parents 2a44d519abca
children d1d5df9b017e
files get-OpenOffice3/stuff/get-OpenOffice3
line diff
     1.1 --- a/get-OpenOffice3/stuff/get-OpenOffice3	Sun May 03 17:27:09 2009 +0000
     1.2 +++ b/get-OpenOffice3/stuff/get-OpenOffice3	Sun May 03 19:37:14 2009 +0000
     1.3 @@ -20,7 +20,7 @@
     1.4  esac
     1.5  
     1.6  VERSION="$(basename $(wget -O - http://openofficeorg.secsup.org/$DIR/ \
     1.7 -	2> /dev/null | grep href | tail -1 | sed 's/.*href=\"\(.*\)\".*/\1/'))"
     1.8 +	2> /dev/null | grep href=\"[0-9] | tail -1 | sed 's/.*href=\"\(.*\)\".*/\1/'))"
     1.9  if [ -z "$VERSION" ]; then
    1.10  	echo "Can't find VERSION. Abort."
    1.11  	exit 0