wok-stable rev 6700

get-OpenOffice3: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 13 16:05:37 2010 +0200 (2010-10-13)
parents 3b9d9fc80e7b
children e2384da86879
files get-OpenOffice3/stuff/get-OpenOffice3
line diff
     1.1 --- a/get-OpenOffice3/stuff/get-OpenOffice3	Wed Oct 13 16:01:25 2010 +0200
     1.2 +++ b/get-OpenOffice3/stuff/get-OpenOffice3	Wed Oct 13 16:05:37 2010 +0200
     1.3 @@ -11,9 +11,9 @@
     1.4  PATTERN="Linux_x86_install-rpm"
     1.5  
     1.6  DIR="stable"
     1.7 -LOC=$(wget -O - http://openofficeorg.secsup.org/localized/ 2> /dev/null 
     1.8 +LOC=$(wget -O - http://openofficeorg.secsup.org/localized/ 2> /dev/null \
     1.9  | grep -E ">$LANG/|>${LANG%_*}/" | tail -1 | sed 's/.*href=\"\(.*\)\/\".*/\1/')
    1.10 -[ -n "$LOC" ] && DIR="localized/$LANG"
    1.11 +[ -n "$LOC" ] && DIR="localized/$LOC"
    1.12  
    1.13  VERSION="$(basename $(wget -O - http://openofficeorg.secsup.org/$DIR/ \
    1.14  	2> /dev/null | grep href=\"[0-9] | tail -1 | sed 's/.*href=\"\(.*\)\".*/\1/'))"