Commit 2b3ba111 authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit packed 3.18.2

parent a0b125e9
...@@ -45,9 +45,11 @@ load_helper() ...@@ -45,9 +45,11 @@ load_helper()
check_core_commands() check_core_commands()
{ {
which --help >/dev/null || fatal "Can't find which command (which package is missed?)" #which --help >/dev/null || fatal "Can't find which command (which package is missed?)"
grep --help >/dev/null || fatal "Can't find grep command (coreutils package is missed?)" # broken which on Debian systems
sed --help >/dev/null || fatal "Can't find sed command (sed package is missed?)" which which >/dev/null || fatal "Can't find which command (which or debianutils package is missed?)"
which grep >/dev/null || fatal "Can't find grep command (coreutils package is missed?)"
which sed >/dev/null || fatal "Can't find sed command (sed package is missed?)"
} }
...@@ -10626,7 +10628,7 @@ Examples: ...@@ -10626,7 +10628,7 @@ Examples:
print_version() print_version()
{ {
echo "EPM package manager version 3.18.1 https://wiki.etersoft.ru/Epm" echo "EPM package manager version 3.18.2 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."
...@@ -10636,7 +10638,7 @@ print_version() ...@@ -10636,7 +10638,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.18.1 EPMVERSION=3.18.2
verbose=$EPM_VERBOSE verbose=$EPM_VERBOSE
quiet= quiet=
nodeps= nodeps=
......
...@@ -36,9 +36,11 @@ load_helper() ...@@ -36,9 +36,11 @@ load_helper()
check_core_commands() check_core_commands()
{ {
which --help >/dev/null || fatal "Can't find which command (which package is missed?)" #which --help >/dev/null || fatal "Can't find which command (which package is missed?)"
grep --help >/dev/null || fatal "Can't find grep command (coreutils package is missed?)" # broken which on Debian systems
sed --help >/dev/null || fatal "Can't find sed command (sed package is missed?)" which which >/dev/null || fatal "Can't find which command (which or debianutils package is missed?)"
which grep >/dev/null || fatal "Can't find grep command (coreutils package is missed?)"
which sed >/dev/null || fatal "Can't find sed command (sed package is missed?)"
} }
...@@ -3150,7 +3152,7 @@ print_version() ...@@ -3150,7 +3152,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.18.1 https://wiki.etersoft.ru/Epm" echo "Service manager version 3.18.2 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