diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-02-28 23:59:40 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-01 19:35:44 +0700 |
commit | 4fdcda7f777a6cae756aeb496cf78c06e533bf7a (patch) | |
tree | f56055ce625b926645421030ca9f03feb4f8e444 /desktop/pidgin-window_merge | |
parent | 76581dfce842be6b71fea35f5a9f3a8da64052bc (diff) |
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>
Diffstat (limited to 'desktop/pidgin-window_merge')
-rw-r--r-- | desktop/pidgin-window_merge/pidgin-window_merge.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/desktop/pidgin-window_merge/pidgin-window_merge.SlackBuild b/desktop/pidgin-window_merge/pidgin-window_merge.SlackBuild index 00199b698aee7..ff6ce59f8726b 100644 --- a/desktop/pidgin-window_merge/pidgin-window_merge.SlackBuild +++ b/desktop/pidgin-window_merge/pidgin-window_merge.SlackBuild @@ -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 . \ |