Commit c8ac5776 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repolist: move to wildcard support

parent 55e8a07a
...@@ -89,18 +89,22 @@ print_apt_sources_list() ...@@ -89,18 +89,22 @@ print_apt_sources_list()
if [ "$1" = "-a" ] || [ "$1" = "--all" ] ; then if [ "$1" = "-a" ] || [ "$1" = "--all" ] ; then
shift shift
local wc=$(__convert_glob__to_regexp "$*")
if [ -n "$quiet" ] ; then if [ -n "$quiet" ] ; then
__print_apt_sources_list_full "$*" $LISTS __print_apt_sources_list_full "$wc" $LISTS
else else
__print_apt_sources_list_verbose_full "$*" $LISTS __print_apt_sources_list_verbose_full "$wc" $LISTS
fi fi
return return
fi fi
local wc=$(__convert_glob__to_regexp "$*")
if [ -n "$quiet" ] ; then if [ -n "$quiet" ] ; then
__print_apt_sources_list "$*" $LISTS __print_apt_sources_list "$wc" $LISTS
else else
__print_apt_sources_list_verbose "$*" $LISTS __print_apt_sources_list_verbose "$wc" $LISTS
fi fi
} }
......
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