wok-stable rev 12286

get-skype: extracted tarball foldername changed
author Richard Dunbar <mojo@slitaz.org>
date Sat May 26 20:29:52 2012 +0000 (2012-05-26)
parents 053bea3ac599
children 2d4c919243ba
files get-skype/stuff/get-skype
line diff
     1.1 --- a/get-skype/stuff/get-skype	Thu May 24 18:00:09 2012 +0200
     1.2 +++ b/get-skype/stuff/get-skype	Sat May 26 20:29:52 2012 +0000
     1.3 @@ -32,14 +32,14 @@
     1.4  # Extract
     1.5  TARBALL=$(ls $TARBALL skype*.tar.bz2 2> /dev/null || true)
     1.6  tar xjf $TARBALL
     1.7 -VERSION=$(ls -d skype_static-*/)
     1.8 +VERSION=$(ls -d skype_static*-*/)
     1.9  VERSION=${VERSION%/}
    1.10 -VERSION=${VERSION#skype_static-}
    1.11 +VERSION=${VERSION#skype_static*-}
    1.12  
    1.13  # extracted pkg can be removed: Save RAM
    1.14  rm -f $TARBALL
    1.15  
    1.16 -cd skype_static-$VERSION
    1.17 +cd skype_static*-$VERSION
    1.18  
    1.19  # Install files
    1.20  mkdir -p skype-$VERSION/fs/usr/share/skype skype-$VERSION/fs/usr/bin