diff options
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 . \ |