Commit 0028e926 authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit packed 3.9.3

parent c47bc759
...@@ -3289,7 +3289,7 @@ case $PMTYPE in ...@@ -3289,7 +3289,7 @@ case $PMTYPE in
*-rpm) *-rpm)
#__repack_rpm_base #__repack_rpm_base
#rm -f /var/lib/rpm/__db* #rm -f /var/lib/rpm/__db*
rpm --rebuilddb a= rpm --rebuilddb
;; ;;
*) *)
fatal "Have no suitable command for $PMTYPE" fatal "Have no suitable command for $PMTYPE"
...@@ -3657,7 +3657,7 @@ query_package_field() ...@@ -3657,7 +3657,7 @@ query_package_field()
local INSTALLED="-p" local INSTALLED="-p"
# if not file, drop -p for get from rpm base # if not file, drop -p for get from rpm base
[ -f "$1" ] || INSTALLED="" [ -f "$1" ] || INSTALLED=""
rpmquery $INSTALLED --queryformat "$FORMAT" "$@" a= rpmquery $INSTALLED --queryformat "$FORMAT" "$@"
} }
...@@ -3711,7 +3711,7 @@ print_srcname() ...@@ -3711,7 +3711,7 @@ print_srcname()
print_specname() print_specname()
{ {
# CHECKME: it is possible to have two or more specs in one package? # CHECKME: it is possible to have two or more specs in one package?
rpm -qlp "$@" | grep "\.spec\$" a= rpm -qlp "$@" | grep "\.spec\$"
} }
print_srcpkgname() print_srcpkgname()
...@@ -3745,7 +3745,7 @@ print_srcpkgname() ...@@ -3745,7 +3745,7 @@ print_srcpkgname()
compare_version() compare_version()
{ {
which rpmevrcmp 2>/dev/null >/dev/null || fatal "rpmevrcmp exists in ALT Linux only" which rpmevrcmp 2>/dev/null >/dev/null || fatal "rpmevrcmp exists in ALT Linux only"
rpmevrcmp "$@" a= rpmevrcmp "$@"
} }
construct_name() construct_name()
...@@ -9394,7 +9394,7 @@ Examples: ...@@ -9394,7 +9394,7 @@ Examples:
print_version() print_version()
{ {
echo "EPM package manager version 3.9.2 https://wiki.etersoft.ru/Epm" echo "EPM package manager version 3.9.3 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-2020" echo "Copyright (c) Etersoft 2012-2020"
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."
...@@ -9404,7 +9404,7 @@ print_version() ...@@ -9404,7 +9404,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.9.2 EPMVERSION=3.9.3
verbose= verbose=
quiet= quiet=
nodeps= nodeps=
......
...@@ -2803,7 +2803,7 @@ print_version() ...@@ -2803,7 +2803,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.9.2 https://wiki.etersoft.ru/Epm" echo "Service manager version 3.9.3 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-2019" echo "Copyright (c) Etersoft 2012-2019"
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