mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
academic/g3data: Update github tarball handling.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
8d5df7c570
commit
14c6c3de38
1 changed files with 6 additions and 1 deletions
|
@ -71,7 +71,12 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
# respecting content-disposition may include cgi params in the filename
|
||||
TARBALL=$CWD/$PRGNAM-$VERSION.tar.gz
|
||||
if [ ! -e $TARBALL ]; then
|
||||
TARBALL="$(/bin/ls $TARBALL\?* | head -1)"
|
||||
fi
|
||||
tar xvf $TARBALL
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
|
|
Loading…
Reference in a new issue