desktop/pidgin-window_merge: Fix 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
76581dfce8
commit
4fdcda7f77
|
@ -75,7 +75,12 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf window_merge-$VERSION
|
||||
tar xvf $CWD/window_merge-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
|
||||
# respecting content-disposition may include cgi params in the filename
|
||||
TARBALL=$CWD/window_merge-$VERSION.tar.gz
|
||||
if [ ! -e $TARBALL ]; then
|
||||
TARBALL="$(/bin/ls $TARBALL\?* | head -1)"
|
||||
fi
|
||||
tar xvf $TARBALL
|
||||
cd window_merge-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
|
|
Loading…
Reference in New Issue