summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-09 21:21:09 +0000
committerRobby Workman <rworkman@slackbuilds.org>2016-01-10 21:34:39 -0600
commit772e95d3b09ea2b7ce36a4f3f88747d6630a0f6e (patch)
treeaefae0177242f6a4783b7c69066b737130425f37
parent701c24e697f856eb721a473283eb1e7e63ab0dc7 (diff)
downloadslackbuilds-772e95d3b09ea2b7ce36a4f3f88747d6630a0f6e.tar.gz
desktop/obkey: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--desktop/obkey/obkey.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/obkey/obkey.SlackBuild b/desktop/obkey/obkey.SlackBuild
index dd4a481737..06945aa127 100644
--- a/desktop/obkey/obkey.SlackBuild
+++ b/desktop/obkey/obkey.SlackBuild
@@ -62,7 +62,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRCVER.tar.gz
+tar xvf $CWD/$SRCVER.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \