Commit fcf8f286 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repolist: support task number(s)

parent dce3a343
#!/bin/sh
#
# Copyright (C) 2012, 2016, 2019 Etersoft
# Copyright (C) 2012, 2016, 2019 Vitaly Lipatov <lav@etersoft.ru>
# Copyright (C) 2012, 2016, 2019, 2020 Etersoft
# Copyright (C) 2012, 2016, 2019, 2020 Vitaly Lipatov <lav@etersoft.ru>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
......@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
load_helper epm-sh-altlinux
print_apt_sources_list()
{
local i
......@@ -33,7 +35,11 @@ epm_repolist()
case $PMTYPE in
apt-rpm)
assure_exists apt-repo
docmd apt-repo list
if tasknumber "$pkg_names" >/dev/null ; then
get_task_packages $pkg_names
else
docmd apt-repo list
fi
;;
deepsolver-rpm)
docmd ds-conf
......
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