Commit db3edf22 authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit packed 3.50.0

parent 714d5b32
...@@ -492,7 +492,7 @@ disabled_eget() ...@@ -492,7 +492,7 @@ disabled_eget()
local EGET local EGET
# use internal eget only if exists # use internal eget only if exists
if [ -s $SHAREDIR/tools_eget ] ; then if [ -s $SHAREDIR/tools_eget ] ; then
$SHAREDIR/tools_eget "$@" ( EGET_BACKEND=$eget_backend $SHAREDIR/tools_eget "$@" )
return return
fi fi
fatal "Internal error: missed tools_eget" fatal "Internal error: missed tools_eget"
...@@ -1512,6 +1512,7 @@ is_command() ...@@ -1512,6 +1512,7 @@ is_command()
firstupper() firstupper()
{ {
# FIXME: works with GNU sed only
echo "$*" | sed 's/.*/\u&/' echo "$*" | sed 's/.*/\u&/'
} }
...@@ -1648,7 +1649,7 @@ case $DISTRIB_ID in ...@@ -1648,7 +1649,7 @@ case $DISTRIB_ID in
Cygwin) Cygwin)
CMD="aptcyg" CMD="aptcyg"
;; ;;
alpine) AlpineLinux)
CMD="apk" CMD="apk"
;; ;;
TinyCoreLinux) TinyCoreLinux)
...@@ -1766,7 +1767,8 @@ normalize_name() ...@@ -1766,7 +1767,8 @@ normalize_name()
;; ;;
*) *)
#echo "${1// /}" #echo "${1// /}"
firstupper "$1" | sed -e "s/ //g" -e 's|(.*||' #firstupper "$1" | sed -e "s/ //g" -e 's|(.*||'
echo "$1" | sed -e "s/ //g" -e 's|(.*||'
;; ;;
esac esac
} }
...@@ -2462,7 +2464,7 @@ case "$1" in ...@@ -2462,7 +2464,7 @@ case "$1" in
;; ;;
--bug-report-url) --bug-report-url)
print_bug_report_url print_bug_report_url
exit return
;; ;;
-s|-n|--vendor-name) -s|-n|--vendor-name)
override_distrib "$2" override_distrib "$2"
...@@ -2562,7 +2564,7 @@ print_version() ...@@ -2562,7 +2564,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.42.0 https://wiki.etersoft.ru/Epm" echo "Service manager version 3.50.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