From fe20cac2ef7057b3c2d93b6c9a0ffd1760886bf9 Mon Sep 17 00:00:00 2001 From: "Ryan P.C. McQuen" Date: Thu, 11 Jun 2015 14:43:17 -0700 Subject: system/tinyterm: Updated for version 0.5.7. Signed-off-by: Ryan P.C. McQuen --- system/tinyterm/tinyterm.SlackBuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'system/tinyterm/tinyterm.SlackBuild') 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 @@ # . 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 . \ -- cgit v1.2.3