Commit ec7a8c65 authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit packed 3.15.1

parent 87873115
...@@ -3664,6 +3664,8 @@ __epm_play_run() ...@@ -3664,6 +3664,8 @@ __epm_play_run()
# also we will have DISTRVENDOR there # also we will have DISTRVENDOR there
export PATH=$PROGDIR:$PATH export PATH=$PROGDIR:$PATH
export SUDO
#info "Running $($script --description 2>/dev/null) ..." #info "Running $($script --description 2>/dev/null) ..."
docmd $script "$@" docmd $script "$@"
} }
...@@ -3706,6 +3708,9 @@ if [ "$1" = "--update" ] ; then ...@@ -3706,6 +3708,9 @@ if [ "$1" = "--update" ] ; then
done done
exit exit
fi fi
if [ -z "$1" ] ; then
fatal "run --update with 'all' or project name"
fi
__check_installed_app "$1" || fatal "$1 is not installed" __check_installed_app "$1" || fatal "$1 is not installed"
prescription="$1" prescription="$1"
shift shift
...@@ -8661,14 +8666,14 @@ docmd $CMD $pkg ...@@ -8661,14 +8666,14 @@ docmd $CMD $pkg
################# incorporate bin/distr_info ################# ################# incorporate bin/distr_info #################
internal_distr_info() internal_distr_info()
{ {
# 2007-2021 (c) Vitaly Lipatov <lav@etersoft.ru> # 2007-2022 (c) Vitaly Lipatov <lav@etersoft.ru>
# 2007-2021 (c) Etersoft # 2007-2022 (c) Etersoft
# 2007-2021 Public domain # 2007-2022 Public domain
# You can set ROOTDIR to root system dir # You can set ROOTDIR to root system dir
#ROOTDIR= #ROOTDIR=
PROGVERSION="20210806" PROGVERSION="20220318"
# TODO: check /etc/system-release # TODO: check /etc/system-release
...@@ -9369,7 +9374,7 @@ print_pretty_name() ...@@ -9369,7 +9374,7 @@ print_pretty_name()
print_total_info() print_total_info()
{ {
cat <<EOF cat <<EOF
distro_info v$PROGVERSION : Copyright © 2007-2021 Etersoft distro_info v$PROGVERSION : Copyright © 2007-2022 Etersoft
==== Total system information: ==== Total system information:
Pretty distro name (--pretty): $(print_pretty_name) Pretty distro name (--pretty): $(print_pretty_name)
Distro name and version (-e): $(print_name_version) Distro name and version (-e): $(print_name_version)
...@@ -10290,7 +10295,7 @@ Examples: ...@@ -10290,7 +10295,7 @@ Examples:
print_version() print_version()
{ {
echo "EPM package manager version 3.15.0 https://wiki.etersoft.ru/Epm" echo "EPM package manager version 3.15.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."
...@@ -10300,7 +10305,7 @@ print_version() ...@@ -10300,7 +10305,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.15.0 EPMVERSION=3.15.1
verbose= verbose=
quiet= quiet=
nodeps= nodeps=
......
...@@ -1284,14 +1284,14 @@ _print_additional_usage ...@@ -1284,14 +1284,14 @@ _print_additional_usage
################# incorporate bin/distr_info ################# ################# incorporate bin/distr_info #################
internal_distr_info() internal_distr_info()
{ {
# 2007-2021 (c) Vitaly Lipatov <lav@etersoft.ru> # 2007-2022 (c) Vitaly Lipatov <lav@etersoft.ru>
# 2007-2021 (c) Etersoft # 2007-2022 (c) Etersoft
# 2007-2021 Public domain # 2007-2022 Public domain
# You can set ROOTDIR to root system dir # You can set ROOTDIR to root system dir
#ROOTDIR= #ROOTDIR=
PROGVERSION="20210806" PROGVERSION="20220318"
# TODO: check /etc/system-release # TODO: check /etc/system-release
...@@ -1992,7 +1992,7 @@ print_pretty_name() ...@@ -1992,7 +1992,7 @@ print_pretty_name()
print_total_info() print_total_info()
{ {
cat <<EOF cat <<EOF
distro_info v$PROGVERSION : Copyright © 2007-2021 Etersoft distro_info v$PROGVERSION : Copyright © 2007-2022 Etersoft
==== Total system information: ==== Total system information:
Pretty distro name (--pretty): $(print_pretty_name) Pretty distro name (--pretty): $(print_pretty_name)
Distro name and version (-e): $(print_name_version) Distro name and version (-e): $(print_name_version)
...@@ -2981,7 +2981,7 @@ print_version() ...@@ -2981,7 +2981,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.15.0 https://wiki.etersoft.ru/Epm" echo "Service manager version 3.15.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