From ed65cb08e12938092dafe471a1085d4700b09af2 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 20 Jan 2020 12:49:35 -0500 Subject: multimedia/x265: Handle badly-named download file. Signed-off-by: B. Watson --- multimedia/x265/x265.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'multimedia/x265') diff --git a/multimedia/x265/x265.SlackBuild b/multimedia/x265/x265.SlackBuild index cc536c5344..9a884c5429 100644 --- a/multimedia/x265/x265.SlackBuild +++ b/multimedia/x265/x265.SlackBuild @@ -62,7 +62,9 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf multicoreware-$PRGNAM-$SRCNAM -tar xvf $CWD/$SRCNAM-$PRGNAM-$REVISION.tar.bz2 || tar xvf $CWD/$VERSION.tar.bz2 +tar xvf $CWD/$SRCNAM-$PRGNAM-$REVISION.tar.bz2 || \ + tar xvf $CWD/$VERSION.tar.bz2 || \ + tar xvf $CWD/multicoreware-$PRGNAM-$SRCNAM.tar.bz2 cd multicoreware-$PRGNAM-$SRCNAM chown -R root:root . find -L . \ -- cgit v1.2.3