summaryrefslogtreecommitdiffstats
path: root/office/odt2txt
diff options
context:
space:
mode:
author David Spencer2016-01-20 00:38:21 +0100
committer Willy Sudiarto Raharjo2016-01-20 17:59:30 +0100
commit57e8f4946243ceddb339521e08e208464cfc6726 (patch)
tree8f374145f4f2f91d14a998cfeafbabba41d097ba /office/odt2txt
parent8d48b4421183a399a80032e97072d0a32dc92f8e (diff)
downloadslackbuilds-57e8f4946243ceddb339521e08e208464cfc6726.tar.gz
Multiple: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office/odt2txt')
-rw-r--r--office/odt2txt/odt2txt.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/office/odt2txt/odt2txt.SlackBuild b/office/odt2txt/odt2txt.SlackBuild
index e16fc15bda..7a37299080 100644
--- a/office/odt2txt/odt2txt.SlackBuild
+++ b/office/odt2txt/odt2txt.SlackBuild
@@ -40,8 +40,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-v$VERSION
-tar xvf $CWD/v$VERSION.tar.gz
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \