From 5869846d14aa826135f0429f9579dec510fe956e Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Fri, 17 Sep 2021 16:17:53 +0300 Subject: [PATCH] termux-tools: termux-info: if TERMUX_VERSION is unset, report app version as 'unsupported' --- packages/termux-tools/build.sh | 2 +- packages/termux-tools/termux-info | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/termux-tools/build.sh b/packages/termux-tools/build.sh index bea099662..38efef9f1 100644 --- a/packages/termux-tools/build.sh +++ b/packages/termux-tools/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://termux.com/ TERMUX_PKG_DESCRIPTION="Basic system tools for Termux" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=0.135 +TERMUX_PKG_VERSION=0.136 TERMUX_PKG_SKIP_SRC_EXTRACT=true TERMUX_PKG_PLATFORM_INDEPENDENT=true TERMUX_PKG_ESSENTIAL=true diff --git a/packages/termux-tools/termux-info b/packages/termux-tools/termux-info index 5b5ae12a1..3cacc7f43 100755 --- a/packages/termux-tools/termux-info +++ b/packages/termux-tools/termux-info @@ -55,6 +55,10 @@ if [ -n "$TERMUX_VERSION" ]; then output+="Application version: $TERMUX_VERSION " +else +output+="Application version: +unsupported +" fi output+="Packages CPU architecture: