Commit a1983b31 authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit packed 3.16.9

parent 86cf8713
...@@ -3710,7 +3710,7 @@ __epm_play_list_installed() ...@@ -3710,7 +3710,7 @@ __epm_play_list_installed()
exit exit
fi fi
[ -n "$quiet" ] || echo "Installed applications:" [ -n "$quiet" ] || echo "Installed applications:"
for i in $(__list_installed_app) ; do for i in $(__list_installed_app | sort) ; do
local desc="$(__get_app_description $psdir/$i.sh)" local desc="$(__get_app_description $psdir/$i.sh)"
[ -n "$desc" ] || continue [ -n "$desc" ] || continue
[ -n "$quiet" ] || echo -n " " [ -n "$quiet" ] || echo -n " "
...@@ -3789,17 +3789,19 @@ if [ "$1" = "--update" ] ; then ...@@ -3789,17 +3789,19 @@ if [ "$1" = "--update" ] ; then
shift shift
if [ "$1" = "all" ] ; then if [ "$1" = "all" ] ; then
shift shift
RES=0
for i in $(__list_installed_app) ; do for i in $(__list_installed_app) ; do
echo echo
echo "$i" echo "$i"
prescription="$i" prescription="$i"
if ! __check_play_script $prescription ; then if ! __check_play_script $prescription ; then
warning "Can't find executable play script for $prescription. Try epm play --remove $prescription if you don't need it anymore." warning "Can't find executable play script for $prescription. Try epm play --remove $prescription if you don't need it anymore."
RES=1
continue continue
fi fi
__epm_play_run $prescription --run "$@" __epm_play_run $prescription --run "$@" || RES=$?
done done
exit exit $RES
fi fi
if [ -z "$1" ] ; then if [ -z "$1" ] ; then
fatal "run --update with 'all' or a project name" fatal "run --update with 'all' or a project name"
...@@ -3818,7 +3820,7 @@ if [ "$1" = "--installed" ] ; then ...@@ -3818,7 +3820,7 @@ if [ "$1" = "--installed" ] ; then
exit exit
fi fi
if [ "$1" = "--list" ] ; then if [ "$1" = "--list" ] || [ "$1" = "--list-installed" ] ; then
__epm_play_list_installed __epm_play_list_installed
exit exit
fi fi
...@@ -9706,7 +9708,7 @@ filter_glob() ...@@ -9706,7 +9708,7 @@ filter_glob()
filter_order() filter_order()
{ {
[ -z "$LATEST" ] && cat && return [ -z "$LATEST" ] && cat && return
sort | tail -n1 sort -V | tail -n1
} }
# download to this file # download to this file
...@@ -10389,7 +10391,7 @@ Examples: ...@@ -10389,7 +10391,7 @@ Examples:
print_version() print_version()
{ {
echo "EPM package manager version 3.16.8 https://wiki.etersoft.ru/Epm" echo "EPM package manager version 3.16.9 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."
...@@ -10399,7 +10401,7 @@ print_version() ...@@ -10399,7 +10401,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.16.8 EPMVERSION=3.16.9
verbose=$EPM_VERBOSE verbose=$EPM_VERBOSE
quiet= quiet=
nodeps= nodeps=
......
...@@ -2243,7 +2243,7 @@ filter_glob() ...@@ -2243,7 +2243,7 @@ filter_glob()
filter_order() filter_order()
{ {
[ -z "$LATEST" ] && cat && return [ -z "$LATEST" ] && cat && return
sort | tail -n1 sort -V | tail -n1
} }
# download to this file # download to this file
...@@ -2994,7 +2994,7 @@ print_version() ...@@ -2994,7 +2994,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.16.8 https://wiki.etersoft.ru/Epm" echo "Service manager version 3.16.9 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