Commit 46464fbd authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit packed 3.23.1

parent 7c4b54c7
...@@ -4990,20 +4990,27 @@ __do_query_real_file() ...@@ -4990,20 +4990,27 @@ __do_query_real_file()
fi fi
fi fi
[ -n "$TOFILE" ] || return
local RES
if [ -n "$short" ] ; then if [ -n "$short" ] ; then
__do_short_query "$TOFILE" || return __do_short_query "$TOFILE"
RES=$?
else else
__do_query "$TOFILE" || return __do_query "$TOFILE"
RES=$?
fi fi
# get value of symbolic link # get value of symbolic link
if [ -n "$TOFILE" ] && [ -L "$TOFILE" ] ; then if [ -L "$TOFILE" ] ; then
local LINKTO local LINKTO
LINKTO=$(readlink -- "$TOFILE") LINKTO=$(readlink -- "$TOFILE")
info " > $TOFILE is link to $LINKTO" info " > $TOFILE is link to $LINKTO"
LINKTO=$(readlink -f -- "$TOFILE") LINKTO=$(readlink -f -- "$TOFILE")
__do_query_real_file "$LINKTO" __do_query_real_file "$LINKTO"
return return
else
return $RES
fi fi
} }
...@@ -11125,7 +11132,7 @@ Examples: ...@@ -11125,7 +11132,7 @@ Examples:
print_version() print_version()
{ {
echo "EPM package manager version 3.23.0 https://wiki.etersoft.ru/Epm" echo "EPM package manager version 3.23.1 https://wiki.etersoft.ru/Epm"
echo "Running on $($DISTRVENDOR -e) ('$PMTYPE' package manager uses '$PKGFORMAT' package format)" echo "Running on $($DISTRVENDOR -e) ('$PMTYPE' package manager uses '$PKGFORMAT' package format)"
echo "Copyright (c) Etersoft 2012-2021" echo "Copyright (c) Etersoft 2012-2021"
echo "This program may be freely redistributed under the terms of the GNU AGPLv3." echo "This program may be freely redistributed under the terms of the GNU AGPLv3."
...@@ -11135,7 +11142,7 @@ print_version() ...@@ -11135,7 +11142,7 @@ print_version()
Usage="Usage: epm [options] <command> [package name(s), package files]..." Usage="Usage: epm [options] <command> [package name(s), package files]..."
Descr="epm - EPM package manager" Descr="epm - EPM package manager"
EPMVERSION=3.23.0 EPMVERSION=3.23.1
verbose=$EPM_VERBOSE verbose=$EPM_VERBOSE
quiet= quiet=
nodeps= nodeps=
......
...@@ -2278,7 +2278,7 @@ print_version() ...@@ -2278,7 +2278,7 @@ print_version()
local on_text="(host system)" local on_text="(host system)"
local virt="$($DISTRVENDOR -i)" local virt="$($DISTRVENDOR -i)"
[ "$virt" = "(unknown)" ] || [ "$virt" = "(host system)" ] || on_text="(under $virt)" [ "$virt" = "(unknown)" ] || [ "$virt" = "(host system)" ] || on_text="(under $virt)"
echo "Service manager version 3.23.0 https://wiki.etersoft.ru/Epm" echo "Service manager version 3.23.1 https://wiki.etersoft.ru/Epm"
echo "Running on $($DISTRVENDOR -e) $on_text with $SERVICETYPE" echo "Running on $($DISTRVENDOR -e) $on_text with $SERVICETYPE"
echo "Copyright (c) Etersoft 2012-2021" echo "Copyright (c) Etersoft 2012-2021"
echo "This program may be freely redistributed under the terms of the GNU AGPLv3." echo "This program may be freely redistributed under the terms of the GNU AGPLv3."
......
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