wok-4.x rev 3372

Fix:get-opera (v10beta1 released)
author Rohit Joshi <jozee@slitaz.org>
date Thu Jun 11 19:26:27 2009 +0000 (2009-06-11)
parents f2dca61f82f8
children 6a152939d390 1b51d8b402a5
files get-opera/stuff/get-opera
line diff
     1.1 --- a/get-opera/stuff/get-opera	Thu Jun 11 19:06:27 2009 +0000
     1.2 +++ b/get-opera/stuff/get-opera	Thu Jun 11 19:26:27 2009 +0000
     1.3 @@ -2,6 +2,8 @@
     1.4  
     1.5  URL=http://mirrors.dedipower.com/opera/linux/
     1.6  ROOT="$1"
     1.7 +#RELEASE="final"
     1.8 +RELEASE="beta1"
     1.9  
    1.10  if test $(id -u) != 0 ; then
    1.11          echo -e "\nYou must be root to run `basename $0`."
    1.12 @@ -21,7 +23,7 @@
    1.13  
    1.14  # Download rpm
    1.15  N=$(wget -O - $URL 2>/dev/null | grep href= | tail -1 | sed 's|.*href="\(.*\)/".*|\1|')
    1.16 -URL=$URL$N/final/en/i386/
    1.17 +URL=$URL$N/$RELEASE/en/i386/
    1.18  FILE=$(wget -O - $URL 2> /dev/null | grep rpm | sed 's|.*href="\(.*\)".*|\1|')
    1.19  URL=$URL$FILE
    1.20  wget $URL