wok-stable diff get-skype/stuff/get-skype @ 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 0c14f687e2d1
children 2fbca5a7a4be
line diff
     1.1 --- a/get-skype/stuff/get-skype	Wed Jul 14 11:55:51 2010 +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