Commit 536c12fa authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm: move EPMVERSION set to more right place and use it

parent 8110aa03
......@@ -31,6 +31,8 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install
CONFIGDIR=$PROGDIR/../etc
EPMVERSION="@VERSION@"
load_helper()
{
local CMD="$SHAREDIR/$1"
......@@ -73,7 +75,7 @@ Examples:
print_version()
{
echo "EPM package manager version @VERSION@ Telegram: https://t.me/useepm https://wiki.etersoft.ru/Epm"
echo "EPM package manager version $EPMVERSION Telegram: https://t.me/useepm https://wiki.etersoft.ru/Epm"
echo "Running on $($DISTRVENDOR -e) ('$PMTYPE' package manager uses '$PKGFORMAT' package format)"
echo "Copyright (c) Etersoft 2012-2023"
echo "This program may be freely redistributed under the terms of the GNU AGPLv3."
......@@ -83,7 +85,6 @@ print_version()
Usage="Usage: epm [options] <command> [package name(s), package files]..."
Descr="epm - EPM package manager"
EPMVERSION=@VERSION@
verbose=$EPM_VERBOSE
quiet=
nodeps=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment