diff options
author | B. Watson <yalhcru@gmail.com> | 2020-01-20 12:49:35 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-26 08:10:00 +0700 |
commit | ed65cb08e12938092dafe471a1085d4700b09af2 (patch) | |
tree | fc9f91c72a76009a4fe04486fa37db67e7de3934 /multimedia/x265 | |
parent | da149cf103090d993669ad55c89fcdcbba2b46ca (diff) | |
download | slackbuilds-ed65cb08e12938092dafe471a1085d4700b09af2.tar.gz |
multimedia/x265: Handle badly-named download file.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'multimedia/x265')
-rw-r--r-- | multimedia/x265/x265.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
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 . \ |