# HG changeset patch # User Pascal Bellard # Date 1249317515 -7200 # Node ID 4199f54b17c076565eb288c939a6afd1cbfb4e05 # Parent 14b75f02548a18425bdd3cca225586add3cbd7fd get-flash-plugin: tarball omit root dir diff -r 14b75f02548a -r 4199f54b17c0 get-flash-plugin/stuff/get-flash-plugin --- a/get-flash-plugin/stuff/get-flash-plugin Mon Aug 03 11:49:03 2009 +0000 +++ b/get-flash-plugin/stuff/get-flash-plugin Mon Aug 03 18:38:35 2009 +0200 @@ -45,12 +45,14 @@ esac DIR=install_flash_player_${value}_linux TARBALL=$DIR.tar.gz -wget $URL$TARBALL +[ -f $TARBALL ] || wget $URL$TARBALL # Extract -tar xzf $TARBALL +mkdir $DIR +cd $DIR +tar xzf ../$TARBALL -cd $DIR +[ -d $DIR ] && mv $DIR/* . VERSION="$(strings libflashplayer.so | grep ^LNX | sed -e 's/LNX //' -e 's/,/./g')" # Install files