termux-tools: termux-info: if TERMUX_VERSION is unset, report app version as 'unsupported'
This commit is contained in:
parent
26da480d36
commit
5869846d14
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://termux.com/
|
|||||||
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
|
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
|
||||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||||
TERMUX_PKG_MAINTAINER="@termux"
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
TERMUX_PKG_VERSION=0.135
|
TERMUX_PKG_VERSION=0.136
|
||||||
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
||||||
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
||||||
TERMUX_PKG_ESSENTIAL=true
|
TERMUX_PKG_ESSENTIAL=true
|
||||||
|
@ -55,6 +55,10 @@ if [ -n "$TERMUX_VERSION" ]; then
|
|||||||
output+="Application version:
|
output+="Application version:
|
||||||
$TERMUX_VERSION
|
$TERMUX_VERSION
|
||||||
"
|
"
|
||||||
|
else
|
||||||
|
output+="Application version:
|
||||||
|
unsupported
|
||||||
|
"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
output+="Packages CPU architecture:
|
output+="Packages CPU architecture:
|
||||||
|
Loading…
Reference in New Issue
Block a user