diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-23 17:48:21 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-26 18:58:51 +0700 |
commit | 11fe97a826e236fc73ca2d173ef89c7b6ca2bba8 (patch) | |
tree | e1712a015700b5ac006c3e0cdcd3f37c5aaad58c | |
parent | 9d29854d4a2228decf48c43a591dd62710717af5 (diff) | |
download | slackbuilds-11fe97a826e236fc73ca2d173ef89c7b6ca2bba8.tar.gz |
games/openmw: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | games/openmw/openmw.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/openmw/openmw.SlackBuild b/games/openmw/openmw.SlackBuild index 17af98cf54..c6bed906d6 100644 --- a/games/openmw/openmw.SlackBuild +++ b/games/openmw/openmw.SlackBuild @@ -59,8 +59,8 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +rm -rf $PRGNAM-$PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$PRGNAM-$VERSION chown -R root:root . find -L . \ |