wok-current rev 14509

get-src2pkg: fix pkg name
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 14 07:41:25 2013 +0200 (2013-05-14)
parents 5273b8724d00
children 6dac872c5a4a
files get-src2pkg/stuff/get-src2pkg
line diff
     1.1 --- a/get-src2pkg/stuff/get-src2pkg	Tue May 14 07:37:16 2013 +0200
     1.2 +++ b/get-src2pkg/stuff/get-src2pkg	Tue May 14 07:41:25 2013 +0200
     1.3 @@ -26,12 +26,10 @@
     1.4  FILE="$(wget -O - $WEB_SITE/$URL | sed '/tazpkg/!d;s/.*href="\([^"]*\).*/\1/')"
     1.5  wget $WEB_SITE/$URL$FILE
     1.6  
     1.7 -exit
     1.8 -
     1.9  # Install pseudo package
    1.10 -tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT
    1.11 +tazpkg install $FILE --root=$ROOT
    1.12  case " $@ " in
    1.13 -*\ --k*) mv $PACKAGE-$VERSION.tazpkg $CUR_DIR ;;
    1.14 +*\ --k*) mv $FILE $CUR_DIR ;;
    1.15  esac
    1.16  
    1.17  # Clean