summaryrefslogtreecommitdiff
path: root/system/tinyterm/tinyterm.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-06-11 14:43:17 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-14 07:55:23 +0700
commitfe20cac2ef7057b3c2d93b6c9a0ffd1760886bf9 (patch)
treef8e33cf50ebf8f973e96a89b25005d6b1a65d4af /system/tinyterm/tinyterm.SlackBuild
parentd34eb0fa41379e264e0773f0769c3523afdc1c8b (diff)
downloadslackbuilds-fe20cac2ef7057b3c2d93b6c9a0ffd1760886bf9.tar.gz
system/tinyterm: Updated for version 0.5.7.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'system/tinyterm/tinyterm.SlackBuild')
-rw-r--r--system/tinyterm/tinyterm.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/system/tinyterm/tinyterm.SlackBuild b/system/tinyterm/tinyterm.SlackBuild
index 94036a0888..c3a8864556 100644
--- a/system/tinyterm/tinyterm.SlackBuild
+++ b/system/tinyterm/tinyterm.SlackBuild
@@ -23,7 +23,7 @@
# <http://www.gnu.org/licenses/>.
PRGNAM=tinyterm
-VERSION=${VERSION:-0.5.6}
+VERSION=${VERSION:-0.5.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +62,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+if [ -e $CWD/$VERSION.tar.gz ]; then
+ tar xvf $CWD/$VERSION.tar.gz
+else
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+fi
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \