diff options
Diffstat (limited to 'system/xboxdrv-linux')
-rw-r--r-- | system/xboxdrv-linux/xboxdrv-linux.SlackBuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/system/xboxdrv-linux/xboxdrv-linux.SlackBuild b/system/xboxdrv-linux/xboxdrv-linux.SlackBuild index f668618c3949..24abf36b03d6 100644 --- a/system/xboxdrv-linux/xboxdrv-linux.SlackBuild +++ b/system/xboxdrv-linux/xboxdrv-linux.SlackBuild @@ -23,6 +23,9 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220209 bkw: Modified by SlackBuilds.org: handle both possibilities for +# the tarball filename. However, this is *still broken* due to scons issues. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xboxdrv-linux @@ -67,12 +70,17 @@ fi set -e +# 20220209 bkw: different clients (browsers, wget, curl) save the file with +# a different filename, depending on whether they respect Content-disposition. +TARBALL=$CWD/6e5e8a57628095d8d0c8bbb38187afb0f3a42112.tar.gz +[ -e "$TARBALL" ] || TARBALL=$CWD/xboxdrv-6e5e8a57628095d8d0c8bbb38187afb0f3a42112.tar.gz + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION mkdir $PRGNAM-$VERSION -tar xvf $CWD/6e5e8a57628095d8d0c8bbb38187afb0f3a42112.tar.gz --strip-components 1 -C $PRGNAM-$VERSION +tar xvf $TARBALL --strip-components 1 -C $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find -L . \ |