summaryrefslogtreecommitdiff
path: root/system/tinyterm/tinyterm.SlackBuild
diff options
context:
space:
mode:
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 . \