Commit f1a7c122 authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit packed 3.52.0

parent 6dc45aaa
...@@ -308,7 +308,9 @@ sudoepm() ...@@ -308,7 +308,9 @@ sudoepm()
fatal() fatal()
{ {
if [ -z "$TEXTDOMAIN" ] ; then if [ -z "$TEXTDOMAIN" ] ; then
set_color $RED
echo "Error: $* (you can discuss the problem in Telegram: https://t.me/useepm)" >&2 echo "Error: $* (you can discuss the problem in Telegram: https://t.me/useepm)" >&2
restore_color
fi fi
exit 1 exit 1
} }
...@@ -316,7 +318,9 @@ fatal() ...@@ -316,7 +318,9 @@ fatal()
warning() warning()
{ {
if [ -z "$TEXTDOMAIN" ] ; then if [ -z "$TEXTDOMAIN" ] ; then
set_color $YELLOW
echo "Warning: $*" >&2 echo "Warning: $*" >&2
restore_color
fi fi
} }
...@@ -1633,7 +1637,7 @@ case $DISTRIB_ID in ...@@ -1633,7 +1637,7 @@ case $DISTRIB_ID in
Windows) Windows)
is_command winget && echo "winget" && return is_command winget && echo "winget" && return
is_command appget && CMD="appget" is_command appget && CMD="appget"
is_command chocolatey && CMD="chocolatey" is_command choco && CMD="choco"
is_command npackdcl && CMD="npackd" is_command npackdcl && CMD="npackd"
;; ;;
MacOS) MacOS)
...@@ -2570,7 +2574,7 @@ print_version() ...@@ -2570,7 +2574,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.51.2 https://wiki.etersoft.ru/Epm" echo "Service manager version 3.52.0 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