wok-4.x rev 6701

get-OpenOffice3: any localization (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 13 17:14:24 2010 +0200 (2010-10-13)
parents da4c85428dc0
children 22293fc3d544
files get-OpenOffice3/stuff/get-OpenOffice3
line diff
     1.1 --- a/get-OpenOffice3/stuff/get-OpenOffice3	Wed Oct 13 16:05:37 2010 +0200
     1.2 +++ b/get-OpenOffice3/stuff/get-OpenOffice3	Wed Oct 13 17:14:24 2010 +0200
     1.3 @@ -12,7 +12,7 @@
     1.4  
     1.5  DIR="stable"
     1.6  LOC=$(wget -O - http://openofficeorg.secsup.org/localized/ 2> /dev/null \
     1.7 -| grep -E ">$LANG/|>${LANG%_*}/" | tail -1 | sed 's/.*href=\"\(.*\)\/\".*/\1/')
     1.8 +| grep -E ">$LANG/|>${LANG%_*}/|>${LANG/_/-}/" | tail -1 | sed 's/.*href=\"\(.*\)\/\".*/\1/')
     1.9  [ -n "$LOC" ] && DIR="localized/$LOC"
    1.10  
    1.11  VERSION="$(basename $(wget -O - http://openofficeorg.secsup.org/$DIR/ \